home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-04-21 | 46.8 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Apr 20 06:48:19 1994, modified Thu Apr 21 08:06:39 1994, creator 'HLX2', type 'ONLN', 44313 bytes "Exception Component" , at 0xad99 3242 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 45 78 63 65 70 74 | 69 6f 6e 20 43 6f 6d 70 |..Except|ion Comp|
|00000010| 6f 6e 65 6e 74 00 00 00 | 00 00 00 00 00 00 00 00 |onent...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 ad 19 00 | 00 0c aa a9 da b8 f3 a9 |........|........|
|00000060| dc 1c cf 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 41 29 00 00 |........|....A)..|
|00000080| 45 78 63 65 70 74 69 6f | 6e 73 20 43 6f 6d 70 6f |Exceptio|ns Compo|
|00000090| 6e 65 6e 74 0d 0d 49 6e | 74 72 6f 64 75 63 74 69 |nent..In|troducti|
|000000a0| 6f 6e 0d 41 73 20 61 20 | 63 6c 61 73 73 20 6c 69 |on.As a |class li|
|000000b0| 62 72 61 72 79 2c 20 4f | 50 46 20 64 65 74 65 63 |brary, O|PF detec|
|000000c0| 74 73 20 65 72 72 6f 72 | 73 20 74 68 61 74 20 74 |ts error|s that t|
|000000d0| 68 65 20 70 61 72 74 20 | 6f 62 6a 65 63 74 73 20 |he part |objects |
|000000e0| 6d 75 73 74 20 68 61 6e | 64 6c 65 2e 20 49 6e 20 |must han|dle. In |
|000000f0| 74 68 6f 73 65 20 63 61 | 73 65 73 20 77 68 65 72 |those ca|ses wher|
|00000100| 65 20 74 68 65 20 6c 69 | 62 72 61 72 79 20 64 6f |e the li|brary do|
|00000110| 65 73 20 6e 6f 74 20 6b | 6e 6f 77 20 68 6f 77 20 |es not k|now how |
|00000120| 74 6f 20 68 61 6e 64 6c | 65 20 61 6e 20 65 72 72 |to handl|e an err|
|00000130| 6f 72 2c 20 69 74 20 63 | 61 6e 20 d2 74 68 72 6f |or, it c|an .thro|
|00000140| 77 d3 20 61 6e 20 65 78 | 63 65 70 74 69 6f 6e 20 |w. an ex|ception |
|00000150| 6f 62 6a 65 63 74 20 74 | 68 61 74 20 6d 61 79 20 |object t|hat may |
|00000160| 63 6f 6e 74 61 69 6e 20 | 64 61 74 61 2e 20 54 68 |contain |data. Th|
|00000170| 65 20 70 61 72 74 20 63 | 61 6e 20 d2 63 61 74 63 |e part c|an .catc|
|00000180| 68 d3 20 74 68 69 73 20 | 6f 62 6a 65 63 74 20 61 |h. this |object a|
|00000190| 6e 64 20 64 6f 20 77 68 | 61 74 65 76 65 72 20 69 |nd do wh|atever i|
|000001a0| 73 20 6e 65 63 65 73 73 | 61 72 79 2e 20 54 68 75 |s necess|ary. Thu|
|000001b0| 73 2c 20 74 68 65 20 6c | 69 62 72 61 72 79 20 6e |s, the l|ibrary n|
|000001c0| 65 65 64 20 6f 6e 6c 79 | 20 64 65 73 63 72 69 62 |eed only| describ|
|000001d0| 65 20 74 68 65 20 74 79 | 70 65 73 20 6f 66 20 65 |e the ty|pes of e|
|000001e0| 78 63 65 70 74 69 6f 6e | 73 20 74 68 61 74 20 63 |xception|s that c|
|000001f0| 61 6e 20 62 65 20 74 68 | 72 6f 77 6e 2e 0d 4f 50 |an be th|rown..OP|
|00000200| 46 20 70 72 6f 76 69 64 | 65 73 20 61 6e 20 65 78 |F provid|es an ex|
|00000210| 63 65 70 74 69 6f 6e 2d | 68 61 6e 64 6c 69 6e 67 |ception-|handling|
|00000220| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 74 68 61 74 20 | compone|nt that |
|00000230| 64 65 66 69 6e 65 73 20 | 74 68 65 20 70 72 6f 74 |defines |the prot|
|00000240| 6f 63 6f 6c 20 4f 50 46 | 20 75 73 65 73 20 74 6f |ocol OPF| uses to|
|00000250| 20 74 68 72 6f 77 20 65 | 78 63 65 70 74 69 6f 6e | throw e|xception|
|00000260| 73 2e 20 49 74 20 69 73 | 20 79 6f 75 72 20 72 65 |s. It is| your re|
|00000270| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 74 6f 20 |sponsibi|lity to |
|00000280| 63 61 74 63 68 20 74 68 | 6f 73 65 20 65 78 63 65 |catch th|ose exce|
|00000290| 70 74 69 6f 6e 73 20 61 | 6e 64 20 68 61 6e 64 6c |ptions a|nd handl|
|000002a0| 65 20 74 68 65 6d 20 70 | 72 6f 70 65 72 6c 79 2e |e them p|roperly.|
|000002b0| 0d 44 69 72 65 63 74 6f | 72 79 0d 46 57 45 78 63 |.Directo|ry.FWExc|
|000002c0| 4c 69 62 0d 48 65 72 69 | 74 61 67 65 0d 5f 46 57 |Lib.Heri|tage._FW|
|000002d0| 5f 43 45 78 63 65 70 74 | 69 6f 6e 09 09 31 31 0d |_CExcept|ion..11.|
|000002e0| 46 57 5f 58 50 72 69 76 | 45 78 63 65 70 74 69 6f |FW_XPriv|Exceptio|
|000002f0| 6e 09 09 31 33 0d 4e 6f | 74 65 0d 4f 6e 6c 79 20 |n..13.No|te.Only |
|00000300| 74 68 65 20 74 6f 70 6d | 6f 73 74 20 6c 61 79 65 |the topm|ost laye|
|00000310| 72 73 20 6f 66 20 74 68 | 65 20 65 78 63 65 70 74 |rs of th|e except|
|00000320| 69 6f 6e 73 20 74 68 61 | 74 20 4f 50 46 20 70 72 |ions tha|t OPF pr|
|00000330| 6f 76 69 64 65 73 20 61 | 72 65 20 64 65 73 63 72 |ovides a|re descr|
|00000340| 69 62 65 64 20 69 6e 20 | 74 68 69 73 20 63 6f 6d |ibed in |this com|
|00000350| 70 6f 6e 65 6e 74 3b 20 | 6f 74 68 65 72 20 65 78 |ponent; |other ex|
|00000360| 63 65 70 74 69 6f 6e 20 | 63 6c 61 73 73 65 73 20 |ception |classes |
|00000370| 62 65 6c 6f 6e 67 20 74 | 6f 20 74 68 65 20 63 6f |belong t|o the co|
|00000380| 6d 70 6f 6e 65 6e 74 20 | 74 6f 20 77 68 69 63 68 |mponent |to which|
|00000390| 20 74 68 6f 73 65 20 65 | 78 63 65 70 74 69 6f 6e | those e|xception|
|000003a0| 73 20 61 70 70 6c 79 2c | 20 61 6e 64 20 61 72 65 |s apply,| and are|
|000003b0| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 74 68 | describ|ed in th|
|000003c0| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 63 6f |e approp|riate co|
|000003d0| 6d 70 6f 6e 65 6e 74 2e | 0d 0d 43 6f 6d 70 6f 6e |mponent.|..Compon|
|000003e0| 65 6e 74 20 64 65 70 65 | 6e 64 65 6e 63 69 65 73 |ent depe|ndencies|
|000003f0| 0d 54 68 65 20 45 78 63 | 65 70 74 69 6f 6e 73 20 |.The Exc|eptions |
|00000400| 63 6f 6d 70 6f 6e 65 6e | 74 20 64 65 70 65 6e 64 |componen|t depend|
|00000410| 73 20 75 70 6f 6e 20 74 | 68 65 20 54 61 73 6b 47 |s upon t|he TaskG|
|00000420| 6c 6f 62 61 6c 73 20 61 | 6e 64 20 74 68 65 20 43 |lobals a|nd the C|
|00000430| 6c 61 73 73 49 6e 66 6f | 20 63 6f 6d 70 6f 6e 65 |lassInfo| compone|
|00000440| 6e 74 73 2e 20 41 6c 73 | 6f 20 6e 6f 74 65 20 74 |nts. Als|o note t|
|00000450| 68 61 74 20 74 68 65 20 | 73 74 79 6c 65 20 6f 66 |hat the |style of|
|00000460| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00000470| 69 6e 67 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |ing impl|emented |
|00000480| 62 79 20 74 68 69 73 20 | 63 6f 6d 70 6f 6e 65 6e |by this |componen|
|00000490| 74 20 72 65 71 75 69 72 | 65 73 20 74 68 61 74 20 |t requir|es that |
|000004a0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|000004b0| 77 69 6e 67 20 69 73 20 | 74 72 75 65 3a 0d 09 31 |wing is |true:..1|
|000004c0| 2e 09 54 68 65 20 63 6f | 6d 70 69 6c 65 72 20 62 |..The co|mpiler b|
|000004d0| 65 69 6e 67 20 75 73 65 | 64 20 73 75 70 70 6f 72 |eing use|d suppor|
|000004e0| 74 73 20 65 78 63 65 70 | 74 69 6f 6e 20 68 61 6e |ts excep|tion han|
|000004f0| 64 6c 69 6e 67 2e 0d 09 | 32 2e 09 54 68 65 20 4f |dling...|2..The O|
|00000500| 50 46 20 45 78 63 65 70 | 74 69 6f 6e 20 43 6f 6d |PF Excep|tion Com|
|00000510| 70 6f 6e 65 6e 74 20 69 | 73 20 62 65 69 6e 67 20 |ponent i|s being |
|00000520| 75 73 65 64 2e 0d 4d 61 | 6e 79 20 4f 50 46 20 63 |used..Ma|ny OPF c|
|00000530| 6f 6d 70 6f 6e 65 6e 74 | 73 20 64 65 70 65 6e 64 |omponent|s depend|
|00000540| 20 75 70 6f 6e 20 74 68 | 65 20 65 78 63 65 70 74 | upon th|e except|
|00000550| 69 6f 6e 73 20 63 6f 6d | 70 6f 6e 65 6e 74 2e 20 |ions com|ponent. |
|00000560| 41 6e 79 20 63 6f 6d 70 | 6f 6e 65 6e 74 20 74 68 |Any comp|onent th|
|00000570| 61 74 20 63 6f 6e 74 61 | 69 6e 73 20 65 78 63 65 |at conta|ins exce|
|00000580| 70 74 69 6f 6e 20 63 6c | 61 73 73 65 73 20 28 62 |ption cl|asses (b|
|00000590| 79 20 63 6f 6e 76 65 6e | 74 69 6f 6e 2c 20 63 6c |y conven|tion, cl|
|000005a0| 61 73 73 65 73 20 77 68 | 6f 73 65 20 6e 61 6d 65 |asses wh|ose name|
|000005b0| 20 62 65 67 69 6e 73 20 | 77 69 74 68 20 46 57 5f | begins |with FW_|
|000005c0| 58 29 20 64 65 70 65 6e | 64 73 20 75 70 6f 6e 20 |X) depen|ds upon |
|000005d0| 74 68 65 20 45 78 63 65 | 70 74 69 6f 6e 73 20 63 |the Exce|ptions c|
|000005e0| 6f 6d 70 6f 6e 65 6e 74 | 2e 0d 43 61 74 63 68 69 |omponent|..Catchi|
|000005f0| 6e 67 20 65 78 63 65 70 | 74 69 6f 6e 73 20 74 68 |ng excep|tions th|
|00000600| 72 6f 77 6e 20 62 79 20 | 4f 50 46 0d 59 6f 75 72 |rown by |OPF.Your|
|00000610| 20 6d 6f 73 74 20 69 6d | 70 6f 72 74 61 6e 74 20 | most im|portant |
|00000620| 65 78 63 65 70 74 69 6f | 6e 2d 68 61 6e 64 6c 69 |exceptio|n-handli|
|00000630| 6e 67 20 72 65 73 70 6f | 6e 73 69 62 69 6c 69 74 |ng respo|nsibilit|
|00000640| 79 20 69 73 20 74 6f 20 | 63 61 74 63 68 20 74 68 |y is to |catch th|
|00000650| 65 20 65 78 63 65 70 74 | 69 6f 6e 73 20 74 68 61 |e except|ions tha|
|00000660| 74 20 4f 50 46 20 74 68 | 72 6f 77 73 2e 20 59 6f |t OPF th|rows. Yo|
|00000670| 75 20 73 68 6f 75 6c 64 | 20 6e 6f 72 6d 61 6c 6c |u should| normall|
|00000680| 79 20 61 73 73 75 6d 65 | 20 74 68 61 74 20 61 6e |y assume| that an|
|00000690| 79 20 6d 65 74 68 6f 64 | 20 79 6f 75 20 63 61 6c |y method| you cal|
|000006a0| 6c 20 63 61 6e 20 74 68 | 72 6f 77 20 61 6e 20 65 |l can th|row an e|
|000006b0| 78 63 65 70 74 69 6f 6e | 2e 20 49 66 20 61 20 6d |xception|. If a m|
|000006c0| 65 74 68 6f 64 20 63 61 | 6c 6c 73 20 61 6e 79 20 |ethod ca|lls any |
|000006d0| 76 69 72 74 75 61 6c 20 | 6d 65 74 68 6f 64 2c 20 |virtual |method, |
|000006e0| 6f 72 20 63 61 6c 6c 73 | 20 61 20 6e 6f 6e 2d 76 |or calls| a non-v|
|000006f0| 69 72 74 75 61 6c 20 6d | 65 74 68 6f 64 20 74 68 |irtual m|ethod th|
|00000700| 61 74 20 74 68 72 6f 77 | 73 20 61 6e 20 65 78 63 |at throw|s an exc|
|00000710| 65 70 74 69 6f 6e 2c 20 | 61 6e 20 65 78 63 65 70 |eption, |an excep|
|00000720| 74 69 6f 6e 20 63 6f 75 | 6c 64 20 62 65 20 74 68 |tion cou|ld be th|
|00000730| 72 6f 77 6e 2e 20 0d 4e | 6f 74 65 0d 49 66 20 61 |rown. .N|ote.If a|
|00000740| 20 63 61 6c 6c 20 63 68 | 61 69 6e 20 63 6f 6e 74 | call ch|ain cont|
|00000750| 61 69 6e 73 20 6e 6f 20 | 76 69 72 74 75 61 6c 20 |ains no |virtual |
|00000760| 6d 65 74 68 6f 64 73 20 | 61 6e 64 20 6e 6f 20 6e |methods |and no n|
|00000770| 6f 6e 2d 76 69 72 74 75 | 61 6c 20 6d 65 74 68 6f |on-virtu|al metho|
|00000780| 64 73 20 74 68 61 74 20 | 74 68 72 6f 77 20 65 78 |ds that |throw ex|
|00000790| 63 65 70 74 69 6f 6e 73 | 2c 20 65 78 63 65 70 74 |ceptions|, except|
|000007a0| 69 6f 6e 73 20 77 69 6c | 6c 20 6e 6f 74 20 62 65 |ions wil|l not be|
|000007b0| 20 74 68 72 6f 77 6e 2e | 20 48 6f 77 65 76 65 72 | thrown.| However|
|000007c0| 2c 20 69 66 20 74 68 65 | 20 70 61 72 74 20 69 73 |, if the| part is|
|000007d0| 20 75 6e 64 65 72 20 64 | 65 76 65 6c 6f 70 6d 65 | under d|evelopme|
|000007e0| 6e 74 2c 20 72 65 6d 65 | 6d 62 65 72 20 74 68 61 |nt, reme|mber tha|
|000007f0| 74 20 74 68 65 20 6d 65 | 74 68 6f 64 73 20 6d 69 |t the me|thods mi|
|00000800| 67 68 74 20 6c 61 74 65 | 72 20 62 65 20 63 68 61 |ght late|r be cha|
|00000810| 6e 67 65 64 20 74 6f 20 | 74 68 72 6f 77 20 65 78 |nged to |throw ex|
|00000820| 63 65 70 74 69 6f 6e 73 | 2e 0d 0d 54 6f 20 61 64 |ceptions|...To ad|
|00000830| 65 71 75 61 74 65 6c 79 | 20 63 61 74 63 68 20 4f |equately| catch O|
|00000840| 50 46 20 65 78 63 65 70 | 74 69 6f 6e 73 2c 20 79 |PF excep|tions, y|
|00000850| 6f 75 20 6d 75 73 74 20 | 70 72 6f 76 69 64 65 20 |ou must |provide |
|00000860| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|00000870| 72 73 20 74 68 61 74 20 | 68 61 6e 64 6c 65 20 65 |rs that |handle e|
|00000880| 78 63 65 70 74 69 6f 6e | 73 20 61 73 20 63 6c 6f |xception|s as clo|
|00000890| 73 65 20 74 6f 20 74 68 | 65 20 74 68 72 6f 77 20 |se to th|e throw |
|000008a0| 70 6f 69 6e 74 20 61 73 | 20 70 6f 73 73 69 62 6c |point as| possibl|
|000008b0| 65 2e 20 54 68 65 20 65 | 78 63 65 70 74 69 6f 6e |e. The e|xception|
|000008c0| 20 68 61 6e 64 6c 65 72 | 73 20 6d 75 73 74 20 72 | handler|s must r|
|000008d0| 65 6c 65 61 73 65 20 61 | 6c 6c 20 72 65 73 6f 75 |elease a|ll resou|
|000008e0| 72 63 65 73 20 74 68 61 | 74 20 68 61 76 65 20 62 |rces tha|t have b|
|000008f0| 65 65 6e 20 73 75 63 63 | 65 73 73 66 75 6c 6c 79 |een succ|essfully|
|00000900| 20 6f 62 74 61 69 6e 65 | 64 20 62 65 66 6f 72 65 | obtaine|d before|
|00000910| 20 74 68 65 20 65 78 63 | 65 70 74 69 6f 6e 20 6f | the exc|eption o|
|00000920| 63 63 75 72 73 2e 0d 54 | 68 65 72 65 20 61 72 65 |ccurs..T|here are|
|00000930| 20 74 77 6f 20 6d 61 69 | 6e 20 77 61 79 73 20 74 | two mai|n ways t|
|00000940| 6f 20 63 61 74 63 68 20 | 65 78 63 65 70 74 69 6f |o catch |exceptio|
|00000950| 6e 73 20 61 74 20 74 68 | 65 20 64 65 65 70 65 73 |ns at th|e deepes|
|00000960| 74 20 70 6f 69 6e 74 2e | 20 59 6f 75 20 63 61 6e |t point.| You can|
|00000970| 20 64 6f 20 65 69 74 68 | 65 72 20 6f 66 20 74 68 | do eith|er of th|
|00000980| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 3a 0d a5 09 55 |e follow|ing:...U|
|00000990| 73 65 20 74 72 79 20 62 | 6c 6f 63 6b 73 20 61 72 |se try b|locks ar|
|000009a0| 6f 75 6e 64 20 63 6f 64 | 65 20 74 68 61 74 20 63 |ound cod|e that c|
|000009b0| 61 6e 20 74 68 72 6f 77 | 20 65 78 63 65 70 74 69 |an throw| excepti|
|000009c0| 6f 6e 73 2e 0d a5 09 55 | 73 65 20 61 20 72 65 73 |ons....U|se a res|
|000009d0| 6f 75 72 63 65 20 61 63 | 71 75 69 73 69 74 69 6f |ource ac|quisitio|
|000009e0| 6e 20 68 65 6c 70 65 72 | 20 63 6c 61 73 73 2e 0d |n helper| class..|
|000009f0| 55 73 69 6e 67 20 61 20 | 74 72 79 20 62 6c 6f 63 |Using a |try bloc|
|00000a00| 6b 0d 59 6f 75 20 63 61 | 6e 20 75 73 65 20 61 20 |k.You ca|n use a |
|00000a10| 74 72 79 20 62 6c 6f 63 | 6b 20 74 6f 20 65 6e 63 |try bloc|k to enc|
|00000a20| 6c 6f 73 65 20 61 20 62 | 6c 6f 63 6b 20 6f 66 20 |lose a b|lock of |
|00000a30| 63 6f 64 65 20 61 6e 64 | 20 63 61 74 63 68 20 61 |code and| catch a|
|00000a40| 6e 79 20 65 78 63 65 70 | 74 69 6f 6e 73 20 74 68 |ny excep|tions th|
|00000a50| 72 6f 77 6e 20 62 79 20 | 74 68 61 74 20 63 6f 64 |rown by |that cod|
|00000a60| 65 2e 20 57 68 65 6e 20 | 79 6f 75 20 64 6f 2c 20 |e. When |you do, |
|00000a70| 6e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 65 78 |note tha|t the ex|
|00000a80| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 65 72 73 |ception |handlers|
|00000a90| 20 69 6e 20 74 68 61 74 | 20 62 6c 6f 63 6b 20 6d | in that| block m|
|00000aa0| 75 73 74 20 72 65 6c 65 | 61 73 65 20 61 6c 6c 20 |ust rele|ase all |
|00000ab0| 72 65 73 6f 75 72 63 65 | 73 20 74 68 61 74 20 68 |resource|s that h|
|00000ac0| 61 76 65 20 62 65 65 6e | 20 73 75 63 63 65 73 73 |ave been| success|
|00000ad0| 66 75 6c 6c 79 20 6f 62 | 74 61 69 6e 65 64 20 62 |fully ob|tained b|
|00000ae0| 65 66 6f 72 65 20 74 68 | 65 20 65 78 63 65 70 74 |efore th|e except|
|00000af0| 69 6f 6e 20 6f 63 63 75 | 72 73 2e 20 54 68 65 20 |ion occu|rs. The |
|00000b00| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|00000b10| 72 73 20 73 68 6f 75 6c | 64 20 61 6c 73 6f 20 61 |rs shoul|d also a|
|00000b20| 74 74 65 6d 70 74 20 74 | 6f 20 72 65 73 74 6f 72 |ttempt t|o restor|
|00000b30| 65 20 61 6c 6c 20 73 74 | 61 74 65 20 74 72 61 6e |e all st|ate tran|
|00000b40| 73 69 74 69 6f 6e 73 20 | 61 6e 64 20 72 65 76 65 |sitions |and reve|
|00000b50| 72 73 65 20 61 6c 6c 20 | 73 69 64 65 20 65 66 66 |rse all |side eff|
|00000b60| 65 63 74 73 2e 0d 49 6e | 20 6d 61 6e 79 20 63 61 |ects..In| many ca|
|00000b70| 73 65 73 2c 20 79 6f 75 | 20 77 69 6c 6c 20 6e 6f |ses, you| will no|
|00000b80| 74 20 62 65 20 61 62 6c | 65 20 74 6f 20 63 6f 6d |t be abl|e to com|
|00000b90| 70 6c 65 74 65 6c 79 20 | 72 65 63 6f 76 65 72 20 |pletely |recover |
|00000ba0| 66 72 6f 6d 20 61 6e 20 | 65 72 72 6f 72 2c 20 6f |from an |error, o|
|00000bb0| 72 20 61 74 20 6c 65 61 | 73 74 20 6f 6e 6c 79 20 |r at lea|st only |
|00000bc0| 62 65 20 61 62 6c 65 20 | 74 6f 20 63 6f 6d 70 6c |be able |to compl|
|00000bd0| 65 74 65 6c 79 20 72 65 | 63 6f 76 65 72 20 66 72 |etely re|cover fr|
|00000be0| 6f 6d 20 61 20 76 65 72 | 79 20 6c 69 6d 69 74 65 |om a ver|y limite|
|00000bf0| 64 20 73 65 74 20 6f 66 | 20 65 72 72 6f 72 73 2e |d set of| errors.|
|00000c00| 20 49 6e 20 73 75 63 68 | 20 63 61 73 65 73 2c 20 | In such| cases, |
|00000c10| 69 66 20 79 6f 75 20 63 | 61 6e d5 74 20 72 65 63 |if you c|an.t rec|
|00000c20| 6f 76 65 72 20 63 6f 6d | 70 6c 65 74 65 6c 79 2c |over com|pletely,|
|00000c30| 20 79 6f 75 20 6d 75 73 | 74 20 63 61 6c 6c 20 74 | you mus|t call t|
|00000c40| 68 72 6f 77 2e 20 42 79 | 20 63 61 6c 6c 69 6e 67 |hrow. By| calling|
|00000c50| 20 74 68 72 6f 77 2c 20 | 79 6f 75 20 70 72 6f 70 | throw, |you prop|
|00000c60| 61 67 61 74 65 20 74 68 | 65 20 65 78 63 65 70 74 |agate th|e except|
|00000c70| 69 6f 6e 20 75 70 20 74 | 68 65 20 63 68 61 69 6e |ion up t|he chain|
|00000c80| 2c 20 77 68 69 63 68 20 | 61 6c 6c 6f 77 73 20 6f |, which |allows o|
|00000c90| 74 68 65 72 20 65 78 63 | 65 70 74 69 6f 6e 20 68 |ther exc|eption h|
|00000ca0| 61 6e 64 6c 65 72 73 20 | 74 6f 20 70 65 72 66 6f |andlers |to perfo|
|00000cb0| 72 6d 20 74 68 65 69 72 | 20 63 6c 65 61 6e 75 70 |rm their| cleanup|
|00000cc0| 2e 0d 55 73 69 6e 67 20 | 61 20 72 65 73 6f 75 72 |..Using |a resour|
|00000cd0| 63 65 20 61 63 71 75 69 | 73 69 74 69 6f 6e 20 68 |ce acqui|sition h|
|00000ce0| 65 6c 70 65 72 0d 52 65 | 73 6f 75 72 63 65 20 61 |elper.Re|source a|
|00000cf0| 63 71 75 69 73 69 74 69 | 6f 6e 20 68 65 6c 70 65 |cquisiti|on helpe|
|00000d00| 72 20 63 6c 61 73 73 65 | 73 20 63 61 6e 20 68 65 |r classe|s can he|
|00000d10| 6c 70 20 73 69 6d 70 6c | 69 66 79 20 79 6f 75 72 |lp simpl|ify your|
|00000d20| 20 63 6f 64 65 20 62 79 | 20 72 65 70 6c 61 63 69 | code by| replaci|
|00000d30| 6e 67 20 74 68 65 20 74 | 72 79 20 62 6c 6f 63 6b |ng the t|ry block|
|00000d40| 73 20 77 69 74 68 20 63 | 6f 64 65 20 74 68 61 74 |s with c|ode that|
|00000d50| 20 61 6c 6c 6f 77 73 20 | 43 2b 2b 20 74 6f 20 61 | allows |C++ to a|
|00000d60| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 75 6e 77 |utomatic|ally unw|
|00000d70| 69 6e 64 20 74 68 65 20 | 73 74 61 63 6b 2e 0d 4e |ind the |stack..N|
|00000d80| 6f 74 65 0d 49 6e 20 74 | 68 69 73 20 63 6f 6e 74 |ote.In t|his cont|
|00000d90| 65 78 74 2c 20 72 65 73 | 6f 75 72 63 65 20 61 63 |ext, res|ource ac|
|00000da0| 71 75 69 73 69 74 69 6f | 6e 20 64 6f 65 73 20 6e |quisitio|n does n|
|00000db0| 6f 74 20 6d 65 61 6e 20 | 6a 75 73 74 20 74 68 65 |ot mean |just the|
|00000dc0| 20 72 65 73 6f 75 72 63 | 65 73 20 68 61 6e 64 6c | resourc|es handl|
|00000dd0| 65 64 20 62 79 20 74 68 | 65 20 4d 61 63 69 6e 74 |ed by th|e Macint|
|00000de0| 6f 73 68 20 6f 72 20 57 | 69 6e 64 6f 77 73 20 52 |osh or W|indows R|
|00000df0| 65 73 6f 75 72 63 65 20 | 4d 61 6e 61 67 65 72 2e |esource |Manager.|
|00000e00| 20 52 61 74 68 65 72 2c | 20 74 68 65 20 74 65 72 | Rather,| the ter|
|00000e10| 6d 20 72 65 73 6f 75 72 | 63 65 73 20 69 73 20 75 |m resour|ces is u|
|00000e20| 73 65 64 20 74 6f 20 6d | 65 61 6e 20 61 6e 79 20 |sed to m|ean any |
|00000e30| 65 78 74 65 72 6e 61 6c | 20 65 6c 65 6d 65 6e 74 |external| element|
|00000e40| 20 74 68 61 74 20 74 68 | 65 20 70 61 72 74 20 6e | that th|e part n|
|00000e50| 65 65 64 73 2c 20 73 75 | 63 68 20 61 73 20 6d 65 |eeds, su|ch as me|
|00000e60| 6d 6f 72 79 2c 20 66 69 | 6c 65 73 2c 20 61 6e 64 |mory, fi|les, and|
|00000e70| 20 73 6f 20 6f 6e 2e 0d | 0d 46 6f 72 20 65 78 61 | so on..|.For exa|
|00000e80| 6d 70 6c 65 2c 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |mple, th|e follow|
|00000e90| 69 6e 67 20 74 79 70 65 | 20 6f 66 20 63 6f 64 65 |ing type| of code|
|00000ea0| 20 63 6f 75 6c 64 20 62 | 65 20 75 73 65 64 20 74 | could b|e used t|
|00000eb0| 6f 20 61 63 71 75 69 72 | 65 20 61 20 72 65 73 6f |o acquir|e a reso|
|00000ec0| 75 72 63 65 3a 0d 0d 76 | 6f 69 64 20 43 53 6f 6d |urce:..v|oid CSom|
|00000ed0| 65 43 6c 61 73 73 3a 3a | 53 6f 6d 65 4d 65 74 68 |eClass::|SomeMeth|
|00000ee0| 6f 64 20 0d 09 09 28 52 | 65 73 6f 75 72 63 65 49 |od ...(R|esourceI|
|00000ef0| 64 65 6e 74 69 66 65 72 | 54 79 70 65 20 72 65 73 |dentifer|Type res|
|00000f00| 6f 75 72 63 65 49 64 65 | 6e 74 69 66 69 65 72 29 |ourceIde|ntifier)|
|00000f10| 0d 7b 0d 09 52 65 73 6f | 75 72 63 65 54 79 70 65 |.{..Reso|urceType|
|00000f20| 20 72 65 73 6f 75 72 63 | 65 20 3d 20 43 41 63 71 | resourc|e = CAcq|
|00000f30| 75 69 72 65 53 6f 6d 65 | 52 65 73 6f 75 72 63 65 |uireSome|Resource|
|00000f40| 28 72 65 73 6f 75 72 63 | 65 49 64 65 6e 74 69 66 |(resourc|eIdentif|
|00000f50| 69 65 72 29 3b 0d 09 74 | 72 79 0d 09 7b 0d 09 09 |ier);..t|ry..{...|
|00000f60| 44 6f 57 6f 72 6b 57 69 | 74 68 52 65 73 6f 75 72 |DoWorkWi|thResour|
|00000f70| 63 65 28 72 65 73 6f 75 | 72 63 65 29 3b 09 2f 2f |ce(resou|rce);.//|
|00000f80| 20 6d 61 79 20 74 68 72 | 6f 77 0d 09 7d 0d 09 63 | may thr|ow..}..c|
|00000f90| 61 74 63 68 0d 09 7b 0d | 09 09 52 65 6c 65 61 73 |atch..{.|..Releas|
|00000fa0| 65 52 65 73 6f 75 72 63 | 65 28 72 65 73 6f 75 72 |eResourc|e(resour|
|00000fb0| 63 65 29 3b 0d 09 09 74 | 68 72 6f 77 28 29 3b 0d |ce);...t|hrow();.|
|00000fc0| 09 7d 0d 09 0d 09 52 65 | 6c 65 61 73 65 52 65 73 |.}....Re|leaseRes|
|00000fd0| 6f 75 72 63 65 28 72 65 | 73 6f 75 72 63 65 29 3b |ource(re|source);|
|00000fe0| 0d 7d 0d 0d 48 6f 77 65 | 76 65 72 2c 20 62 79 20 |.}..Howe|ver, by |
|00000ff0| 75 73 69 6e 67 20 61 20 | 72 65 73 6f 75 72 63 65 |using a |resource|
|00001000| 20 61 63 71 75 69 73 69 | 74 69 6f 6e 20 68 65 6c | acquisi|tion hel|
|00001010| 70 65 72 20 6f 62 6a 65 | 63 74 2c 20 79 6f 75 20 |per obje|ct, you |
|00001020| 63 61 6e 20 73 69 6d 70 | 6c 69 66 79 20 74 68 65 |can simp|lify the|
|00001030| 20 63 6f 64 65 20 61 73 | 20 66 6f 6c 6c 6f 77 73 | code as| follows|
|00001040| 3a 0d 63 6c 61 73 73 20 | 43 41 63 71 75 69 72 65 |:.class |CAcquire|
|00001050| 53 6f 6d 65 52 65 73 6f | 75 72 63 65 20 3a 20 0d |SomeReso|urce : .|
|00001060| 09 09 09 09 70 75 62 6c | 69 63 09 09 20 46 57 5f |....publ|ic.. FW_|
|00001070| 5f 43 41 75 74 6f 44 65 | 73 74 72 75 63 74 4f 62 |_CAutoDe|structOb|
|00001080| 6a 65 63 74 0d 7b 0d 70 | 75 62 6c 69 63 3a 0d 43 |ject.{.p|ublic:.C|
|00001090| 41 63 71 75 69 72 65 53 | 6f 6d 65 52 65 73 6f 75 |AcquireS|omeResou|
|000010a0| 72 63 65 20 28 52 65 73 | 6f 75 72 63 65 49 64 65 |rce (Res|ourceIde|
|000010b0| 6e 74 69 66 69 65 72 54 | 79 70 65 0d 09 09 09 09 |ntifierT|ype.....|
|000010c0| 09 09 09 09 09 20 72 65 | 73 6f 75 72 63 65 49 64 |..... re|sourceId|
|000010d0| 65 6e 74 69 66 69 65 72 | 29 3b 0d 09 76 69 72 74 |entifier|);..virt|
|000010e0| 75 61 6c 20 7e 46 57 5f | 43 41 63 71 75 69 72 65 |ual ~FW_|CAcquire|
|000010f0| 53 6f 6d 65 52 65 73 6f | 75 72 63 65 28 29 3b 0d |SomeReso|urce();.|
|00001100| 09 52 65 73 6f 75 72 63 | 65 54 79 70 65 20 47 65 |.Resourc|eType Ge|
|00001110| 74 52 65 73 6f 75 72 63 | 65 28 76 6f 69 64 29 3b |tResourc|e(void);|
|00001120| 0d 70 72 69 76 61 74 65 | 3a 0d 09 52 65 73 6f 75 |.private|:..Resou|
|00001130| 72 63 65 54 79 70 65 20 | 66 52 65 73 6f 75 72 63 |rceType |fResourc|
|00001140| 65 3b 0d 7d 0d 43 41 63 | 71 75 69 72 65 53 6f 6d |e;.}.CAc|quireSom|
|00001150| 65 52 65 73 6f 75 72 63 | 65 3a 3a 43 41 63 71 75 |eResourc|e::CAcqu|
|00001160| 69 72 65 53 6f 6d 65 52 | 65 73 6f 75 72 63 65 0d |ireSomeR|esource.|
|00001170| 09 09 28 52 65 73 6f 75 | 72 63 65 49 64 65 6e 74 |..(Resou|rceIdent|
|00001180| 69 66 69 65 72 54 79 70 | 65 20 72 65 73 6f 75 72 |ifierTyp|e resour|
|00001190| 63 65 49 64 65 6e 74 69 | 66 69 65 72 29 0d 09 09 |ceIdenti|fier)...|
|000011a0| 09 09 09 20 3a 20 66 52 | 65 73 6f 75 72 63 65 28 |... : fR|esource(|
|000011b0| 46 57 5f 43 41 63 71 75 | 69 72 65 53 6f 6d 65 52 |FW_CAcqu|ireSomeR|
|000011c0| 65 73 6f 75 72 63 65 28 | 0d 09 09 09 09 09 09 09 |esource(|........|
|000011d0| 09 72 65 73 6f 75 72 63 | 65 49 64 65 6e 74 69 66 |.resourc|eIdentif|
|000011e0| 69 65 72 29 29 0d 43 41 | 63 71 75 69 72 65 53 6f |ier)).CA|cquireSo|
|000011f0| 6d 65 52 65 73 6f 75 72 | 63 65 3a 3a 7e 43 41 63 |meResour|ce::~CAc|
|00001200| 71 75 69 72 65 53 6f 6d | 65 52 65 73 6f 75 72 63 |quireSom|eResourc|
|00001210| 65 28 29 0d 7b 0d 09 52 | 65 6c 65 61 73 65 52 65 |e().{..R|eleaseRe|
|00001220| 73 6f 75 72 63 65 28 66 | 52 65 73 6f 75 72 63 65 |source(f|Resource|
|00001230| 29 3b 0d 7d 0d 63 68 61 | 72 20 2a 63 6f 6e 73 74 |);.}.cha|r *const|
|00001240| 20 43 41 63 71 75 69 72 | 65 53 6f 6d 65 52 65 73 | CAcquir|eSomeRes|
|00001250| 6f 75 72 63 65 3a 3a 47 | 65 74 52 65 73 6f 75 72 |ource::G|etResour|
|00001260| 63 65 28 76 6f 69 64 29 | 0d 7b 0d 09 72 65 74 75 |ce(void)|.{..retu|
|00001270| 72 6e 20 66 52 65 73 6f | 75 72 63 65 3b 0d 7d 0d |rn fReso|urce;.}.|
|00001280| 4e 6f 74 65 0d 49 66 20 | 79 6f 75 20 61 72 65 20 |Note.If |you are |
|00001290| 75 73 69 6e 67 20 74 68 | 65 20 45 78 63 65 70 74 |using th|e Except|
|000012a0| 69 6f 6e 20 43 6f 6d 70 | 6f 6e 65 6e 74 2c 20 74 |ion Comp|onent, t|
|000012b0| 68 65 20 70 72 65 63 65 | 64 69 6e 67 20 63 6f 64 |he prece|ding cod|
|000012c0| 65 20 6d 75 73 74 20 75 | 73 65 20 74 68 65 20 45 |e must u|se the E|
|000012d0| 4e 44 43 4f 4e 53 54 52 | 55 43 54 4f 52 20 61 6e |NDCONSTR|UCTOR an|
|000012e0| 64 20 53 54 41 52 54 44 | 45 53 54 52 55 43 54 4f |d STARTD|ESTRUCTO|
|000012f0| 52 20 6d 61 63 72 6f 73 | 20 66 72 6f 6d 20 74 68 |R macros| from th|
|00001300| 65 20 4f 50 46 20 45 78 | 63 65 70 74 69 6f 6e 20 |e OPF Ex|ception |
|00001310| 4c 69 62 72 61 72 79 2e | 20 41 6c 73 6f 2c 20 74 |Library.| Also, t|
|00001320| 68 65 20 43 41 63 71 75 | 69 72 65 53 6f 6d 65 52 |he CAcqu|ireSomeR|
|00001330| 65 73 6f 75 72 63 65 20 | 63 6c 61 73 73 20 6d 75 |esource |class mu|
|00001340| 73 74 20 64 65 73 63 65 | 6e 64 20 66 72 6f 6d 20 |st desce|nd from |
|00001350| 5f 46 57 5f 43 41 75 74 | 6f 44 65 73 74 72 75 63 |_FW_CAut|oDestruc|
|00001360| 74 4f 62 6a 65 63 74 2e | 20 53 65 65 20 41 70 70 |tObject.| See App|
|00001370| 65 6e 64 69 78 20 41 2c | 20 d2 54 68 65 20 42 65 |endix A,| .The Be|
|00001380| 64 72 6f 63 6b 20 45 78 | 63 65 70 74 69 6f 6e 20 |drock Ex|ception |
|00001390| 4c 69 62 72 61 72 79 2c | d3 20 66 6f 72 20 6d 6f |Library,|. for mo|
|000013a0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0d |re infor|mation..|
|000013b0| 0d 4e 6f 77 20 79 6f 75 | 20 63 61 6e 20 77 72 69 |.Now you| can wri|
|000013c0| 74 65 20 74 68 65 20 63 | 6f 64 65 20 74 68 61 74 |te the c|ode that|
|000013d0| 20 6e 65 65 64 73 20 74 | 68 65 20 72 65 73 6f 75 | needs t|he resou|
|000013e0| 72 63 65 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d |rce as f|ollows:.|
|000013f0| 76 6f 69 64 20 43 53 6f | 6d 65 43 6c 61 73 73 3a |void CSo|meClass:|
|00001400| 3a 53 6f 6d 65 4d 65 74 | 68 6f 64 0d 09 09 20 28 |:SomeMet|hod... (|
|00001410| 52 65 73 6f 75 72 63 65 | 49 64 65 6e 74 69 66 65 |Resource|Identife|
|00001420| 72 54 79 70 65 20 72 65 | 73 6f 75 72 63 65 49 64 |rType re|sourceId|
|00001430| 65 6e 74 69 66 69 65 72 | 29 0d 7b 0d 09 43 41 63 |entifier|).{..CAc|
|00001440| 71 75 69 72 65 53 6f 6d | 65 52 65 73 6f 75 72 63 |quireSom|eResourc|
|00001450| 65 20 61 48 65 6c 70 65 | 72 0d 09 09 09 09 09 09 |e aHelpe|r.......|
|00001460| 09 09 09 20 28 72 65 73 | 6f 75 72 63 65 49 64 65 |... (res|ourceIde|
|00001470| 6e 74 69 66 69 65 72 29 | 3b 0d 09 52 65 73 6f 75 |ntifier)|;..Resou|
|00001480| 72 63 65 54 79 70 65 20 | 72 65 73 6f 75 72 63 65 |rceType |resource|
|00001490| 20 3d 20 61 48 65 6c 70 | 65 72 2e 47 65 74 52 65 | = aHelp|er.GetRe|
|000014a0| 73 6f 75 72 63 65 28 29 | 3b 0d 09 44 6f 57 6f 72 |source()|;..DoWor|
|000014b0| 6b 57 69 74 68 52 65 73 | 6f 75 72 63 65 28 72 65 |kWithRes|ource(re|
|000014c0| 73 6f 75 72 63 65 29 3b | 09 2f 2f 20 6d 61 79 20 |source);|.// may |
|000014d0| 74 68 72 6f 77 0d 7d 0d | 0d 54 68 72 6f 77 69 6e |throw.}.|.Throwin|
|000014e0| 67 20 70 72 65 64 65 66 | 69 6e 65 64 20 65 78 63 |g predef|ined exc|
|000014f0| 65 70 74 69 6f 6e 73 0d | 59 6f 75 20 63 61 6e 20 |eptions.|You can |
|00001500| 74 68 72 6f 77 20 61 6e | 79 20 6f 66 20 74 68 65 |throw an|y of the|
|00001510| 20 65 78 63 65 70 74 69 | 6f 6e 73 20 74 68 61 74 | excepti|ons that|
|00001520| 20 4f 50 46 20 64 65 66 | 69 6e 65 73 2e 20 46 6f | OPF def|ines. Fo|
|00001530| 72 20 65 76 65 72 79 20 | 65 78 63 65 70 74 69 6f |r every |exceptio|
|00001540| 6e 20 79 6f 75 20 74 68 | 72 6f 77 2c 20 79 6f 75 |n you th|row, you|
|00001550| 20 6d 75 73 74 20 74 61 | 6b 65 20 6f 6e 65 20 6f | must ta|ke one o|
|00001560| 66 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |f the fo|llowing |
|00001570| 61 63 74 69 6f 6e 73 3a | 0d 09 31 2e 09 59 6f 75 |actions:|..1..You|
|00001580| 20 6d 75 73 74 20 65 6e | 73 75 72 65 20 74 68 61 | must en|sure tha|
|00001590| 74 20 74 68 65 20 6d 65 | 74 68 6f 64 20 74 68 72 |t the me|thod thr|
|000015a0| 6f 77 69 6e 67 20 74 68 | 65 20 65 78 63 65 70 74 |owing th|e except|
|000015b0| 69 6f 6e 20 69 73 20 63 | 61 6c 6c 65 64 20 66 72 |ion is c|alled fr|
|000015c0| 6f 6d 20 61 20 75 73 65 | 66 75 6c 20 74 72 79 20 |om a use|ful try |
|000015d0| 62 6c 6f 63 6b 2e 20 54 | 68 61 74 20 69 73 2c 20 |block. T|hat is, |
|000015e0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 63 61 74 63 68 |you shou|ld catch|
|000015f0| 20 61 6e 79 20 65 78 63 | 65 70 74 69 6f 6e 73 20 | any exc|eptions |
|00001600| 79 6f 75 20 74 68 72 6f | 77 20 61 73 20 64 65 65 |you thro|w as dee|
|00001610| 70 6c 79 20 61 73 20 70 | 6f 73 73 69 62 6c 65 2e |ply as p|ossible.|
|00001620| 0d 09 32 2e 09 49 66 20 | 79 6f 75 20 61 72 65 20 |..2..If |you are |
|00001630| 77 72 69 74 69 6e 67 20 | 61 20 6c 69 62 72 61 72 |writing |a librar|
|00001640| 79 20 66 6f 72 20 6f 74 | 68 65 72 73 20 74 6f 20 |y for ot|hers to |
|00001650| 75 73 65 2c 20 61 6e 64 | 20 64 6f 20 6e 6f 74 20 |use, and| do not |
|00001660| 63 61 74 63 68 20 74 68 | 65 20 65 78 63 65 70 74 |catch th|e except|
|00001670| 69 6f 6e 20 79 6f 75 72 | 73 65 6c 66 2c 20 79 6f |ion your|self, yo|
|00001680| 75 20 6d 75 73 74 20 64 | 6f 63 75 6d 65 6e 74 20 |u must d|ocument |
|00001690| 68 6f 77 20 63 6c 69 65 | 6e 74 73 20 61 72 65 20 |how clie|nts are |
|000016a0| 74 6f 20 68 61 6e 64 6c | 65 20 74 68 65 20 74 68 |to handl|e the th|
|000016b0| 72 6f 77 6e 20 65 78 63 | 65 70 74 69 6f 6e 20 74 |rown exc|eption t|
|000016c0| 6f 20 65 6e 61 62 6c 65 | 20 74 68 65 6d 20 74 6f |o enable| them to|
|000016d0| 20 77 72 69 74 65 20 61 | 6e 20 61 70 70 72 6f 70 | write a|n approp|
|000016e0| 72 69 61 74 65 20 68 61 | 6e 64 6c 65 72 2e 20 0d |riate ha|ndler. .|
|000016f0| 44 65 66 69 6e 69 6e 67 | 20 61 20 6e 65 77 20 65 |Defining| a new e|
|00001700| 78 63 65 70 74 69 6f 6e | 20 63 6c 61 73 73 0d 59 |xception| class.Y|
|00001710| 6f 75 20 63 61 6e 20 64 | 65 66 69 6e 65 20 79 6f |ou can d|efine yo|
|00001720| 75 72 20 6f 77 6e 20 65 | 78 63 65 70 74 69 6f 6e |ur own e|xception|
|00001730| 20 63 6c 61 73 73 65 73 | 20 61 6e 64 20 74 68 72 | classes| and thr|
|00001740| 6f 77 20 65 78 63 65 70 | 74 69 6f 6e 73 20 6f 66 |ow excep|tions of|
|00001750| 20 74 68 61 74 20 63 6c | 61 73 73 2e 20 49 66 20 | that cl|ass. If |
|00001760| 79 6f 75 20 64 6f 20 73 | 6f 2c 20 79 6f 75 20 6d |you do s|o, you m|
|00001770| 75 73 74 20 64 6f 63 75 | 6d 65 6e 74 20 68 6f 77 |ust docu|ment how|
|00001780| 20 63 6c 69 65 6e 74 73 | 20 61 72 65 20 74 6f 20 | clients| are to |
|00001790| 68 61 6e 64 6c 65 20 74 | 68 65 20 65 78 63 65 70 |handle t|he excep|
|000017a0| 74 69 6f 6e 20 74 6f 20 | 65 6e 61 62 6c 65 20 74 |tion to |enable t|
|000017b0| 68 65 6d 20 74 6f 20 77 | 72 69 74 65 20 61 6e 20 |hem to w|rite an |
|000017c0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 68 61 6e 64 |appropri|ate hand|
|000017d0| 6c 65 72 2e 20 0d 49 66 | 20 79 6f 75 72 20 63 6f |ler. .If| your co|
|000017e0| 6d 70 69 6c 65 72 20 73 | 75 70 70 6f 72 74 73 20 |mpiler s|upports |
|000017f0| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 69 |exceptio|n handli|
|00001800| 6e 67 2c 20 79 6f 75 72 | 20 65 78 63 65 70 74 69 |ng, your| excepti|
|00001810| 6f 6e 20 63 6c 61 73 73 | 20 63 61 6e 20 62 65 20 |on class| can be |
|00001820| 70 6c 61 63 65 64 20 61 | 6e 79 77 68 65 72 65 20 |placed a|nywhere |
|00001830| 69 6e 20 74 68 65 20 63 | 6c 61 73 73 20 68 69 65 |in the c|lass hie|
|00001840| 72 61 72 63 68 79 2e 20 | 59 6f 75 20 63 61 6e 20 |rarchy. |You can |
|00001850| 61 6c 73 6f 20 74 68 72 | 6f 77 20 65 78 63 65 70 |also thr|ow excep|
|00001860| 74 69 6f 6e 73 20 6f 66 | 20 61 6e 79 20 74 79 70 |tions of| any typ|
|00001870| 65 2e 0d 4e 6f 74 65 0d | 49 66 20 74 68 65 20 63 |e..Note.|If the c|
|00001880| 6f 6d 70 69 6c 65 72 20 | 79 6f 75 d5 72 65 20 75 |ompiler |you.re u|
|00001890| 73 69 6e 67 20 64 6f 65 | 73 6e d5 74 20 73 75 70 |sing doe|sn.t sup|
|000018a0| 70 6f 72 74 20 65 78 63 | 65 70 74 69 6f 6e 73 2c |port exc|eptions,|
|000018b0| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 74 68 65 | you can| use the|
|000018c0| 20 4f 50 46 20 45 78 63 | 65 70 74 69 6f 6e 20 4c | OPF Exc|eption L|
|000018d0| 69 62 72 61 72 79 2e 20 | 49 66 20 79 6f 75 20 64 |ibrary. |If you d|
|000018e0| 6f 20 75 73 65 20 74 68 | 61 74 20 6c 69 62 72 61 |o use th|at libra|
|000018f0| 72 79 2c 20 79 6f 75 72 | 20 6e 65 77 20 65 78 63 |ry, your| new exc|
|00001900| 65 70 74 69 6f 6e 20 63 | 6c 61 73 73 20 6d 75 73 |eption c|lass mus|
|00001910| 74 20 64 65 73 63 65 6e | 64 20 66 72 6f 6d 20 74 |t descen|d from t|
|00001920| 68 65 20 5f 46 57 5f 43 | 45 78 63 65 70 74 69 6f |he _FW_C|Exceptio|
|00001930| 6e 20 63 6c 61 73 73 2c | 20 61 6e 64 20 61 6e 79 |n class,| and any|
|00001940| 20 6f 62 6a 65 63 74 73 | 20 74 68 61 74 20 79 6f | objects| that yo|
|00001950| 75 20 77 61 6e 74 20 74 | 6f 20 62 65 20 61 75 74 |u want t|o be aut|
|00001960| 6f 6d 61 74 69 63 61 6c | 6c 79 20 64 65 73 74 72 |omatical|ly destr|
|00001970| 6f 79 65 64 20 6d 75 73 | 74 20 64 65 73 63 65 6e |oyed mus|t descen|
|00001980| 64 20 66 72 6f 6d 20 74 | 68 65 20 5f 46 57 5f 43 |d from t|he _FW_C|
|00001990| 41 75 74 6f 44 65 73 74 | 72 75 63 74 4f 62 6a 65 |AutoDest|ructObje|
|000019a0| 63 74 20 63 6c 61 73 73 | 2e 20 53 65 65 20 41 70 |ct class|. See Ap|
|000019b0| 70 65 6e 64 69 78 20 41 | 2c 20 d2 54 68 65 20 42 |pendix A|, .The B|
|000019c0| 65 64 72 6f 63 6b 20 45 | 78 63 65 70 74 69 6f 6e |edrock E|xception|
|000019d0| 20 4c 69 62 72 61 72 79 | 2c d3 20 66 6f 72 20 6d | Library|,. for m|
|000019e0| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |ore info|rmation.|
|000019f0| 0d 0d 53 6f 6d 65 20 65 | 78 63 65 70 74 69 6f 6e |..Some e|xception|
|00001a00| 20 69 64 69 6f 6d 73 0d | 43 61 74 63 68 20 69 6e | idioms.|Catch in|
|00001a10| 20 6f 76 65 72 72 69 64 | 65 20 69 64 69 6f 6d 0d | overrid|e idiom.|
|00001a20| 4f 6e 65 20 63 6f 6e 73 | 69 73 74 65 6e 74 6c 79 |One cons|istently|
|00001a30| 20 75 73 65 66 75 6c 20 | 74 65 63 68 6e 69 71 75 | useful |techniqu|
|00001a40| 65 20 69 73 20 74 6f 20 | 6f 76 65 72 72 69 64 65 |e is to |override|
|00001a50| 20 61 20 4f 50 46 20 6d | 65 74 68 6f 64 20 74 68 | a OPF m|ethod th|
|00001a60| 61 74 20 74 68 72 6f 77 | 73 20 61 6e 20 65 78 63 |at throw|s an exc|
|00001a70| 65 70 74 69 6f 6e 20 74 | 6f 20 63 61 74 63 68 20 |eption t|o catch |
|00001a80| 74 68 61 74 20 65 78 63 | 65 70 74 69 6f 6e 20 61 |that exc|eption a|
|00001a90| 6e 64 20 70 72 6f 76 69 | 64 65 20 72 65 63 6f 76 |nd provi|de recov|
|00001aa0| 65 72 79 2e 0d 59 6f 75 | 72 20 72 65 63 6f 76 65 |ery..You|r recove|
|00001ab0| 72 79 20 63 6f 64 65 20 | 63 61 6e 20 70 72 6f 62 |ry code |can prob|
|00001ac0| 61 62 6c 79 20 72 65 63 | 6f 76 65 72 20 62 65 73 |ably rec|over bes|
|00001ad0| 74 20 77 68 65 6e 20 79 | 6f 75 20 75 73 65 20 74 |t when y|ou use t|
|00001ae0| 68 65 20 69 64 69 6f 6d | 20 61 74 20 74 68 65 20 |he idiom| at the |
|00001af0| 64 65 65 70 65 73 74 20 | 70 6f 73 73 69 62 6c 65 |deepest |possible|
|00001b00| 20 70 6f 69 6e 74 20 69 | 6e 20 74 68 65 20 63 61 | point i|n the ca|
|00001b10| 6c 6c 20 63 68 61 69 6e | 2e 20 49 66 20 79 6f 75 |ll chain|. If you|
|00001b20| 20 70 6c 61 63 65 20 74 | 68 65 20 72 65 63 6f 76 | place t|he recov|
|00001b30| 65 72 79 20 68 69 67 68 | 65 72 20 75 70 20 69 6e |ery high|er up in|
|00001b40| 20 74 68 65 20 63 61 6c | 6c 20 63 68 61 69 6e 2c | the cal|l chain,|
|00001b50| 20 69 74 20 77 69 6c 6c | 20 70 72 6f 62 61 62 6c | it will| probabl|
|00001b60| 79 20 68 61 76 65 20 74 | 6f 20 62 65 20 6d 6f 72 |y have t|o be mor|
|00001b70| 65 20 67 65 6e 65 72 69 | 63 2e 0d 54 68 65 20 66 |e generi|c..The f|
|00001b80| 6f 6c 6c 6f 77 69 6e 67 | 20 65 78 61 6d 70 6c 65 |ollowing| example|
|00001b90| 20 73 68 6f 77 73 20 61 | 6e 20 6f 76 65 72 72 69 | shows a|n overri|
|00001ba0| 64 65 20 6f 66 20 74 68 | 65 20 53 6f 6d 65 46 75 |de of th|e SomeFu|
|00001bb0| 6e 63 74 69 6f 6e 20 6d | 65 74 68 6f 64 20 74 68 |nction m|ethod th|
|00001bc0| 61 74 20 63 61 6c 6c 73 | 20 74 68 65 20 53 6f 6d |at calls| the Som|
|00001bd0| 65 46 75 6e 63 74 69 6f | 6e 20 6d 65 74 68 6f 64 |eFunctio|n method|
|00001be0| 20 6f 66 20 69 74 73 20 | 73 75 70 65 72 63 6c 61 | of its |supercla|
|00001bf0| 73 73 20 74 6f 20 74 72 | 61 70 20 61 6e 79 20 65 |ss to tr|ap any e|
|00001c00| 78 63 65 70 74 69 6f 6e | 73 20 6f 63 63 75 72 72 |xception|s occurr|
|00001c10| 69 6e 67 20 66 72 6f 6d | 20 74 68 65 20 46 57 5f |ing from| the FW_|
|00001c20| 43 4f 50 46 43 6c 61 73 | 73 3a 3a 53 6f 6d 65 46 |COPFClas|s::SomeF|
|00001c30| 75 6e 63 74 69 6f 6e 20 | 63 61 6c 6c 2e 0d 0d 46 |unction |call...F|
|00001c40| 57 5f 43 4f 50 46 43 6c | 61 73 73 20 3a 20 70 75 |W_COPFCl|ass : pu|
|00001c50| 62 6c 69 63 20 2e 2e 2e | 0d 7b 0d 70 75 62 6c 69 |blic ...|.{.publi|
|00001c60| 63 3a 0d 09 2e 2e 2e 0d | 09 76 69 72 74 75 61 6c |c:......|.virtual|
|00001c70| 20 76 6f 69 64 20 53 6f | 6d 65 46 75 6e 63 74 69 | void So|meFuncti|
|00001c80| 6f 6e 28 76 6f 69 64 29 | 3b 0d 09 2e 2e 2e 0d 7d |on(void)|;......}|
|00001c90| 0d 46 57 5f 43 4f 50 46 | 43 6c 61 73 73 3a 3a 53 |.FW_COPF|Class::S|
|00001ca0| 6f 6d 65 46 75 6e 63 74 | 69 6f 6e 28 76 6f 69 64 |omeFunct|ion(void|
|00001cb0| 29 0d 7b 0d 09 2e 2e 2e | 0d 09 69 66 20 28 61 6e |).{.....|..if (an|
|00001cc0| 45 72 72 6f 72 29 0d 09 | 09 54 48 52 4f 57 28 78 |Error)..|.THROW(x|
|00001cd0| 46 69 6c 65 28 29 29 3b | 0d 09 2e 2e 2e 0d 7d 0d |File());|......}.|
|00001ce0| 43 59 6f 75 72 43 6c 61 | 73 73 20 3a 20 70 75 62 |CYourCla|ss : pub|
|00001cf0| 6c 69 63 20 46 57 5f 43 | 4f 50 46 43 6c 61 73 73 |lic FW_C|OPFClass|
|00001d00| 0d 7b 0d 70 75 62 6c 69 | 63 3a 0d 09 2e 2e 2e 0d |.{.publi|c:......|
|00001d10| 09 76 69 72 74 75 61 6c | 20 76 6f 69 64 20 53 6f |.virtual| void So|
|00001d20| 6d 65 46 75 6e 63 74 69 | 6f 6e 28 76 6f 69 64 29 |meFuncti|on(void)|
|00001d30| 3b 0d 09 2e 2e 2e 0d 7d | 0d 43 59 6f 75 72 43 6c |;......}|.CYourCl|
|00001d40| 61 73 73 3a 3a 53 6f 6d | 65 46 75 6e 63 74 69 6f |ass::Som|eFunctio|
|00001d50| 6e 28 76 6f 69 64 29 0d | 7b 0d 09 74 72 79 0d 09 |n(void).|{..try..|
|00001d60| 7b 0d 09 09 46 57 5f 43 | 4f 50 46 43 6c 61 73 73 |{...FW_C|OPFClass|
|00001d70| 3a 3a 53 6f 6d 65 46 75 | 6e 63 74 69 6f 6e 28 29 |::SomeFu|nction()|
|00001d80| 0d 09 7d 0d 09 63 61 74 | 63 68 0d 09 43 41 54 43 |..}..cat|ch..CATC|
|00001d90| 48 5f 52 45 46 45 52 45 | 4e 43 45 28 78 46 69 6c |H_REFERE|NCE(xFil|
|00001da0| 65 2c 20 61 46 69 6c 65 | 29 0d 09 7b 0d 09 09 2f |e, aFile|)..{.../|
|00001db0| 2f 20 59 6f 75 72 20 73 | 70 65 63 69 66 69 63 20 |/ Your s|pecific |
|00001dc0| 72 65 63 6f 76 65 72 79 | 0d 09 09 69 66 20 28 59 |recovery|...if (Y|
|00001dd0| 6f 75 72 41 70 70 43 61 | 6e 74 52 65 63 6f 76 65 |ourAppCa|ntRecove|
|00001de0| 72 28 29 29 0d 09 09 09 | 54 48 52 4f 57 5f 53 41 |r())....|THROW_SA|
|00001df0| 4d 45 28 29 3b 0d 09 7d | 0d 0d 0d 44 65 62 75 67 |ME();..}|...Debug|
|00001e00| 67 69 6e 67 20 77 69 74 | 68 20 65 78 63 65 70 74 |ging wit|h except|
|00001e10| 69 6f 6e 73 0d 42 72 65 | 61 6b 69 6e 67 20 69 6e |ions.Bre|aking in|
|00001e20| 74 6f 20 61 20 64 65 62 | 75 67 67 65 72 20 62 65 |to a deb|ugger be|
|00001e30| 66 6f 72 65 20 61 6e 20 | 65 78 63 65 70 74 69 6f |fore an |exceptio|
|00001e40| 6e 20 69 73 20 74 68 72 | 6f 77 6e 0d 59 6f 75 20 |n is thr|own.You |
|00001e50| 63 61 6e 20 75 73 65 20 | 74 68 65 20 4d 61 63 72 |can use |the Macr|
|00001e60| 6f 73 20 42 52 45 41 4b | 5f 4f 4e 5f 54 48 52 4f |os BREAK|_ON_THRO|
|00001e70| 57 28 61 43 6c 61 73 73 | 29 20 61 6e 64 20 4e 4f |W(aClass|) and NO|
|00001e80| 5f 42 52 45 41 4b 5f 4f | 4e 5f 54 48 52 4f 57 20 |_BREAK_O|N_THROW |
|00001e90| 74 6f 20 74 65 6c 6c 20 | 74 68 65 20 45 78 63 65 |to tell |the Exce|
|00001ea0| 70 74 69 6f 6e 20 43 6f | 6d 70 6f 6e 65 6e 74 20 |ption Co|mponent |
|00001eb0| 74 6f 20 62 72 65 61 6b | 20 77 68 65 6e 65 76 65 |to break| wheneve|
|00001ec0| 72 20 61 6e 20 65 78 63 | 65 70 74 69 6f 6e 20 6f |r an exc|eption o|
|00001ed0| 66 20 74 79 70 65 20 61 | 43 6c 61 73 73 20 28 69 |f type a|Class (i|
|00001ee0| 6e 63 6c 75 64 69 6e 67 | 20 73 75 62 74 79 70 65 |ncluding| subtype|
|00001ef0| 73 20 6f 66 20 61 43 6c | 61 73 73 29 20 69 73 20 |s of aCl|ass) is |
|00001f00| 74 68 72 6f 77 6e 2e 20 | 54 68 65 20 6d 61 63 72 |thrown. |The macr|
|00001f10| 6f 20 45 58 43 45 50 54 | 49 4f 4e 5f 42 52 45 41 |o EXCEPT|ION_BREA|
|00001f20| 4b 5f 43 4f 4e 54 45 58 | 54 28 61 43 6c 61 73 73 |K_CONTEX|T(aClass|
|00001f30| 29 20 73 65 74 73 20 75 | 70 20 61 20 63 6f 6e 74 |) sets u|p a cont|
|00001f40| 65 78 74 20 77 69 74 68 | 69 6e 20 61 20 6c 6f 63 |ext with|in a loc|
|00001f50| 61 6c 20 73 63 6f 70 65 | 2c 20 74 68 61 74 20 69 |al scope|, that i|
|00001f60| 73 2c 20 65 78 63 65 70 | 74 69 6f 6e 73 20 6f 66 |s, excep|tions of|
|00001f70| 20 74 79 70 65 20 61 43 | 6c 61 73 73 20 77 69 6c | type aC|lass wil|
|00001f80| 6c 20 63 61 75 73 65 20 | 61 20 62 72 65 61 6b 70 |l cause |a breakp|
|00001f90| 6f 69 6e 74 20 77 69 74 | 68 69 6e 20 74 68 65 20 |oint wit|hin the |
|00001fa0| 73 63 6f 70 65 20 6f 66 | 20 74 68 65 20 6d 61 63 |scope of| the mac|
|00001fb0| 72 6f 3b 20 77 68 65 6e | 20 74 68 65 20 73 63 6f |ro; when| the sco|
|00001fc0| 70 65 20 69 73 20 65 78 | 69 74 65 64 2c 20 74 68 |pe is ex|ited, th|
|00001fd0| 65 20 63 6f 6e 74 65 78 | 74 20 69 73 20 61 75 74 |e contex|t is aut|
|00001fe0| 6f 6d 61 74 69 63 61 6c | 6c 79 20 72 65 73 74 6f |omatical|ly resto|
|00001ff0| 72 65 64 20 74 6f 20 77 | 68 61 74 20 69 74 20 77 |red to w|hat it w|
|00002000| 61 73 20 70 72 65 76 69 | 6f 75 73 6c 79 2e 0d 4c |as previ|ously..L|
|00002010| 6f 67 67 69 6e 67 20 61 | 6e 64 20 74 72 69 67 67 |ogging a|nd trigg|
|00002020| 65 72 69 6e 67 20 65 78 | 63 65 70 74 69 6f 6e 73 |ering ex|ceptions|
|00002030| 0d 4f 50 46 20 70 72 6f | 76 69 64 65 73 20 61 20 |.OPF pro|vides a |
|00002040| 66 61 63 69 6c 69 74 79 | 20 74 6f 20 68 65 6c 70 |facility| to help|
|00002050| 20 79 6f 75 20 6c 6f 67 | 20 65 78 63 65 70 74 69 | you log| excepti|
|00002060| 6f 6e 73 20 74 6f 20 61 | 6e 20 49 2f 4f 20 73 74 |ons to a|n I/O st|
|00002070| 72 65 61 6d 20 6f 72 20 | 61 63 74 75 61 6c 6c 79 |ream or |actually|
|00002080| 20 63 61 75 73 65 20 61 | 6e 20 65 78 63 65 70 74 | cause a|n except|
|00002090| 69 6f 6e 20 74 6f 20 62 | 65 20 73 69 6d 75 6c 61 |ion to b|e simula|
|000020a0| 74 65 64 2e 20 0d 54 6f | 20 75 73 65 20 74 68 65 |ted. .To| use the|
|000020b0| 20 46 57 5f 4c 4f 47 5f | 4f 52 5f 54 52 49 47 47 | FW_LOG_|OR_TRIGG|
|000020c0| 45 52 5f 45 58 43 45 50 | 54 49 4f 4e 20 6d 61 63 |ER_EXCEP|TION mac|
|000020d0| 72 6f 2c 20 64 6f 20 74 | 68 65 20 66 6f 6c 6c 6f |ro, do t|he follo|
|000020e0| 77 69 6e 67 3a 0d 09 31 | 2e 09 50 6c 61 63 65 20 |wing:..1|..Place |
|000020f0| 61 20 46 57 5f 4c 4f 47 | 5f 4f 52 5f 54 52 49 47 |a FW_LOG|_OR_TRIG|
|00002100| 47 45 52 5f 45 58 43 45 | 50 54 49 4f 4e 20 6d 61 |GER_EXCE|PTION ma|
|00002110| 63 72 6f 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |cro at t|he begin|
|00002120| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 66 75 6e 63 |ning of |the func|
|00002130| 74 69 6f 6e 20 74 68 61 | 74 20 77 69 6c 6c 20 6c |tion tha|t will l|
|00002140| 6f 67 20 6f 72 20 74 72 | 69 67 67 65 72 20 65 78 |og or tr|igger ex|
|00002150| 63 65 70 74 69 6f 6e 73 | 2c 20 75 73 69 6e 67 20 |ceptions|, using |
|00002160| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 79 |the foll|owing sy|
|00002170| 6e 74 61 78 3a 0d 0d 46 | 57 5f 4c 4f 47 5f 4f 52 |ntax:..F|W_LOG_OR|
|00002180| 5f 54 52 49 47 47 45 52 | 5f 45 58 43 45 50 54 49 |_TRIGGER|_EXCEPTI|
|00002190| 4f 4e 28 0d 09 46 57 5f | 58 43 6c 61 73 73 4e 61 |ON(..FW_|XClassNa|
|000021a0| 6d 65 2c 20 46 57 5f 58 | 43 6f 6e 73 74 72 75 63 |me, FW_X|Construc|
|000021b0| 74 6f 72 28 50 61 72 6d | 31 2c 20 50 61 72 6d 32 |tor(Parm|1, Parm2|
|000021c0| 29 29 3b 0d 0d 09 32 2e | 09 42 65 66 6f 72 65 20 |));...2.|.Before |
|000021d0| 79 6f 75 20 77 61 6e 74 | 20 74 68 65 20 65 78 63 |you want| the exc|
|000021e0| 65 70 74 69 6f 6e 20 74 | 6f 20 62 65 20 6c 6f 67 |eption t|o be log|
|000021f0| 67 65 64 2c 20 63 61 6c | 6c 20 5f 46 57 5f 43 45 |ged, cal|l _FW_CE|
|00002200| 78 63 65 70 74 69 6f 6e | 4c 6f 67 3a 3a 53 74 61 |xception|Log::Sta|
|00002210| 72 74 4c 6f 67 2e 0d 41 | 64 64 69 74 69 6f 6e 61 |rtLog..A|dditiona|
|00002220| 6c 20 65 78 63 65 70 74 | 69 6f 6e 20 73 74 72 61 |l except|ion stra|
|00002230| 74 65 67 69 65 73 0d 53 | 6f 6d 65 20 61 64 64 69 |tegies.S|ome addi|
|00002240| 74 69 6f 6e 61 6c 20 74 | 65 63 68 6e 69 71 75 65 |tional t|echnique|
|00002250| 73 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 77 68 |s you ca|n use wh|
|00002260| 65 6e 20 73 65 74 74 69 | 6e 67 20 75 70 20 79 6f |en setti|ng up yo|
|00002270| 75 72 20 65 78 63 65 70 | 74 69 6f 6e 20 68 61 6e |ur excep|tion han|
|00002280| 64 6c 69 6e 67 20 61 72 | 65 20 61 73 20 66 6f 6c |dling ar|e as fol|
|00002290| 6c 6f 77 73 3a 0d 09 31 | 2e 09 53 65 74 20 75 70 |lows:..1|..Set up|
|000022a0| 20 61 20 6d 65 6d 6f 72 | 79 20 72 65 73 65 72 76 | a memor|y reserv|
|000022b0| 65 20 66 72 6f 6d 20 77 | 68 69 63 68 20 79 6f 75 |e from w|hich you|
|000022c0| 20 63 61 6e 20 64 72 61 | 77 20 77 68 65 6e 20 6e | can dra|w when n|
|000022d0| 6f 72 6d 61 6c 20 6d 65 | 6d 6f 72 79 20 69 73 20 |ormal me|mory is |
|000022e0| 65 78 68 61 75 73 74 65 | 64 2e 0d 09 32 2e 09 43 |exhauste|d...2..C|
|000022f0| 6f 6e 73 74 72 75 63 74 | 20 67 65 6e 65 72 69 63 |onstruct| generic|
|00002300| 20 65 72 72 6f 72 73 20 | 74 68 61 74 20 63 61 6e | errors |that can|
|00002310| 20 62 65 20 74 68 72 6f | 77 6e 20 66 72 6f 6d 20 | be thro|wn from |
|00002320| 6d 61 6e 79 20 64 69 66 | 66 65 72 65 6e 74 20 6d |many dif|ferent m|
|00002330| 65 74 68 6f 64 73 2e 20 | 46 6f 72 20 65 78 61 6d |ethods. |For exam|
|00002340| 70 6c 65 2c 20 4f 50 46 | 20 74 68 72 6f 77 73 20 |ple, OPF| throws |
|00002350| 74 68 65 20 46 57 5f 58 | 4d 65 6d 6f 72 79 45 78 |the FW_X|MemoryEx|
|00002360| 68 61 75 73 74 65 64 20 | 65 72 72 6f 72 20 66 72 |hausted |error fr|
|00002370| 6f 6d 20 6d 61 6e 79 20 | 70 6c 61 63 65 73 20 69 |om many |places i|
|00002380| 6e 20 74 68 65 20 6c 69 | 62 72 61 72 79 2e 0d 5f |n the li|brary.._|
|00002390| 46 57 5f 43 45 78 63 65 | 70 74 69 6f 6e 20 43 6c |FW_CExce|ption Cl|
|000023a0| 61 73 73 0d 49 6e 74 72 | 6f 64 75 63 74 69 6f 6e |ass.Intr|oduction|
|000023b0| 0d 54 68 65 20 5f 46 57 | 5f 43 45 78 63 65 70 74 |.The _FW|_CExcept|
|000023c0| 69 6f 6e 20 63 6c 61 73 | 73 20 69 73 20 74 68 65 |ion clas|s is the|
|000023d0| 20 72 6f 6f 74 20 63 6c | 61 73 73 20 66 6f 72 20 | root cl|ass for |
|000023e0| 61 6c 6c 20 65 78 63 65 | 70 74 69 6f 6e 73 20 74 |all exce|ptions t|
|000023f0| 68 72 6f 77 6e 20 62 79 | 20 4f 50 46 2e 20 41 6c |hrown by| OPF. Al|
|00002400| 74 68 6f 75 67 68 20 69 | 74 20 69 73 20 6e 6f 74 |though i|t is not|
|00002410| 20 61 6e 20 61 62 73 74 | 72 61 63 74 20 63 6c 61 | an abst|ract cla|
|00002420| 73 73 2c 20 69 74 20 69 | 73 20 6e 6f 74 20 69 6e |ss, it i|s not in|
|00002430| 74 65 6e 64 65 64 20 66 | 6f 72 20 69 6e 73 74 61 |tended f|or insta|
|00002440| 6e 74 69 61 74 69 6f 6e | 2e 0d 48 65 61 64 65 72 |ntiation|..Header|
|00002450| 20 66 69 6c 65 0d 46 57 | 45 78 63 65 70 74 2e 68 | file.FW|Except.h|
|00002460| 0d 48 65 72 69 74 61 67 | 65 0d 5f 46 57 5f 43 45 |.Heritag|e._FW_CE|
|00002470| 78 63 65 70 74 69 6f 6e | 0d a5 20 46 57 5f 58 50 |xception|.. FW_XP|
|00002480| 72 69 76 45 78 63 65 70 | 74 69 6f 6e 09 09 20 31 |rivExcep|tion.. 1|
|00002490| 31 0d 09 0d 55 73 69 6e | 67 20 5f 46 57 5f 43 45 |1...Usin|g _FW_CE|
|000024a0| 78 63 65 70 74 69 6f 6e | 0d 6e 65 65 64 20 63 6c |xception|.need cl|
|000024b0| 61 73 73 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |ass desc|ription |
|000024c0| 68 65 72 65 0d 5f 46 57 | 5f 43 45 78 63 65 70 74 |here._FW|_CExcept|
|000024d0| 69 6f 6e 20 73 75 62 63 | 6c 61 73 73 65 73 0d 46 |ion subc|lasses.F|
|000024e0| 57 5f 58 50 72 69 76 45 | 78 63 65 70 74 69 6f 6e |W_XPrivE|xception|
|000024f0| 20 28 70 61 67 65 20 31 | 31 29 20 69 73 20 61 20 | (page 1|1) is a |
|00002500| 73 75 62 63 6c 61 73 73 | 20 6f 66 20 74 68 69 73 |subclass| of this|
|00002510| 20 63 6c 61 73 73 2e 0d | 52 65 6c 61 74 65 64 20 | class..|Related |
|00002520| 63 6c 61 73 73 65 73 0d | 4e 6f 6e 65 2e 0d 53 75 |classes.|None..Su|
|00002530| 62 63 6c 61 73 73 69 6e | 67 20 5f 46 57 5f 43 45 |bclassin|g _FW_CE|
|00002540| 78 63 65 70 74 69 6f 6e | 0d 59 6f 75 20 75 73 75 |xception|.You usu|
|00002550| 61 6c 6c 79 20 64 6f 20 | 6e 6f 74 20 73 75 62 63 |ally do |not subc|
|00002560| 6c 61 73 73 20 74 68 69 | 73 20 63 6c 61 73 73 2e |lass thi|s class.|
|00002570| 20 49 6e 73 74 65 61 64 | 2c 20 79 6f 75 20 73 75 | Instead|, you su|
|00002580| 62 63 6c 61 73 73 20 46 | 57 5f 58 50 72 69 76 45 |bclass F|W_XPrivE|
|00002590| 78 63 65 70 74 69 6f 6e | 20 6f 72 20 6f 6e 65 20 |xception| or one |
|000025a0| 6f 66 20 69 74 73 20 73 | 75 62 63 6c 61 73 73 65 |of its s|ubclasse|
|000025b0| 73 2e 0d 5f 46 57 5f 43 | 45 78 63 65 70 74 69 6f |s.._FW_C|Exceptio|
|000025c0| 6e 20 4d 65 74 68 6f 64 | 73 0d 0d 5f 46 57 5f 43 |n Method|s.._FW_C|
|000025d0| 45 78 63 65 70 74 69 6f | 6e 28 29 3b 0d 0d 44 65 |Exceptio|n();..De|
|000025e0| 66 61 75 6c 74 20 63 6f | 6e 73 74 72 75 63 74 6f |fault co|nstructo|
|000025f0| 72 20 2e 0d 0d 76 69 72 | 74 75 61 6c 20 7e 5f 46 |r ...vir|tual ~_F|
|00002600| 57 5f 43 45 78 63 65 70 | 74 69 6f 6e 28 29 3b 0d |W_CExcep|tion();.|
|00002610| 0d 45 6d 70 74 79 20 64 | 65 73 74 72 75 63 74 6f |.Empty d|estructo|
|00002620| 72 20 69 6e 20 6e 6f 6e | 2d 64 65 62 75 67 20 6d |r in non|-debug m|
|00002630| 6f 64 65 2e 0d 0d 0d 76 | 69 72 74 75 61 6c 20 76 |ode....v|irtual v|
|00002640| 6f 69 64 20 43 6f 70 79 | 28 76 6f 69 64 20 2a 70 |oid Copy|(void *p|
|00002650| 2c 0d 09 09 09 09 09 20 | 09 73 69 7a 65 5f 74 20 |,...... |.size_t |
|00002660| 6d 61 78 4f 62 6a 65 63 | 74 53 69 7a 65 29 20 63 |maxObjec|tSize) c|
|00002670| 6f 6e 73 74 3b 0d 0d 43 | 6f 70 79 20 74 68 69 73 |onst;..C|opy this|
|00002680| 20 6f 62 6a 65 63 74 2e | 20 54 68 69 73 20 6d 65 | object.| This me|
|00002690| 74 68 6f 64 20 64 6f 65 | 73 20 61 20 62 69 74 77 |thod doe|s a bitw|
|000026a0| 69 73 65 20 63 6f 70 79 | 2e 20 4f 76 65 72 72 69 |ise copy|. Overri|
|000026b0| 64 65 20 69 74 20 69 66 | 20 79 6f 75 20 6e 65 65 |de it if| you nee|
|000026c0| 64 20 74 6f 20 64 6f 20 | 61 20 64 65 65 70 20 63 |d to do |a deep c|
|000026d0| 6f 70 79 2e 0d 0d 44 65 | 6c 65 74 65 28 29 3b 0d |opy...De|lete();.|
|000026e0| 0d 44 69 73 70 61 74 63 | 68 65 73 20 74 6f 20 64 |.Dispatc|hes to d|
|000026f0| 65 73 74 72 75 63 74 6f | 72 2e 0d 0d 63 6f 6e 73 |estructo|r...cons|
|00002700| 74 20 63 68 61 72 2a 20 | 47 65 74 43 6c 61 73 73 |t char* |GetClass|
|00002710| 4e 61 6d 65 28 29 20 63 | 6f 6e 73 74 3b 0d 0d 52 |Name() c|onst;..R|
|00002720| 65 74 75 72 6e 73 20 74 | 68 65 20 63 6c 61 73 73 |eturns t|he class|
|00002730| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 6f 62 | name of| this ob|
|00002740| 6a 65 63 74 2e 0d 0d 73 | 69 7a 65 5f 74 20 47 65 |ject...s|ize_t Ge|
|00002750| 74 53 69 7a 65 28 29 20 | 63 6f 6e 73 74 3b 0d 0d |tSize() |const;..|
|00002760| 52 65 74 75 72 6e 73 20 | 74 68 65 20 73 69 7a 65 |Returns |the size|
|00002770| 20 6f 66 20 74 68 69 73 | 20 6f 62 6a 65 63 74 2e | of this| object.|
|00002780| 0d 0d 2e 76 6f 69 64 20 | 6f 70 65 72 61 74 6f 72 |...void |operator|
|00002790| 20 64 65 6c 65 74 65 28 | 76 6f 69 64 2a 20 6d 65 | delete(|void* me|
|000027a0| 6d 6f 72 79 29 3b 0d 0d | 45 78 63 65 70 74 69 6f |mory);..|Exceptio|
|000027b0| 6e 73 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 68 61 |ns shoul|d not ha|
|000027c0| 76 65 20 62 65 65 6e 20 | 61 6c 6c 6f 63 61 74 65 |ve been |allocate|
|000027d0| 64 20 6f 6e 20 74 68 65 | 20 68 65 61 70 3b 20 74 |d on the| heap; t|
|000027e0| 68 69 73 20 6d 65 74 68 | 6f 64 20 63 61 75 73 65 |his meth|od cause|
|000027f0| 73 20 61 6e 20 61 73 73 | 65 72 74 69 6f 6e 20 69 |s an ass|ertion i|
|00002800| 66 20 63 61 6c 6c 65 64 | 2e 0d 0d 76 6f 69 64 2a |f called|...void*|
|00002810| 20 6f 70 65 72 61 74 6f | 72 20 6e 65 77 28 73 69 | operato|r new(si|
|00002820| 7a 65 5f 74 20 73 69 7a | 65 29 3b 0d 0d 42 6c 6f |ze_t siz|e);..Blo|
|00002830| 63 6b 73 20 65 78 63 65 | 70 74 69 6f 6e 73 20 66 |cks exce|ptions f|
|00002840| 72 6f 6d 20 62 65 69 6e | 67 20 61 6c 6c 6f 63 61 |rom bein|g alloca|
|00002850| 74 65 64 20 6f 6e 20 74 | 68 65 20 68 65 61 70 2e |ted on t|he heap.|
|00002860| 0d 0d 69 6e 74 20 5f 5f | 49 73 4b 69 6e 64 4f 66 |..int __|IsKindOf|
|00002870| 28 46 57 5f 43 6c 61 73 | 73 52 65 66 65 72 65 6e |(FW_Clas|sReferen|
|00002880| 63 65 20 61 43 6c 61 73 | 73 29 3b 0d 0d 52 65 74 |ce aClas|s);..Ret|
|00002890| 75 72 6e 73 20 31 20 69 | 66 20 74 68 69 73 20 6f |urns 1 i|f this o|
|000028a0| 62 6a 65 63 74 20 69 73 | 20 61 20 6b 69 6e 64 20 |bject is| a kind |
|000028b0| 6f 66 20 61 43 6c 61 73 | 73 3b 20 74 68 61 74 20 |of aClas|s; that |
|000028c0| 69 73 2c 20 69 66 20 74 | 68 65 20 6f 62 6a 65 63 |is, if t|he objec|
|000028d0| 74 20 69 73 20 6f 66 20 | 74 68 65 20 73 70 65 63 |t is of |the spec|
|000028e0| 69 66 69 65 64 20 63 6c | 61 73 73 20 6f 72 20 69 |ified cl|ass or i|
|000028f0| 73 20 61 6e 20 6f 62 6a | 65 63 74 20 6f 66 20 61 |s an obj|ect of a|
|00002900| 20 73 75 62 63 6c 61 73 | 73 20 6f 66 20 61 43 6c | subclas|s of aCl|
|00002910| 61 73 73 2e 0d 46 57 5f | 58 50 72 69 76 45 78 63 |ass..FW_|XPrivExc|
|00002920| 65 70 74 69 6f 6e 20 43 | 6c 61 73 73 0d 49 6e 74 |eption C|lass.Int|
|00002930| 72 6f 64 75 63 74 69 6f | 6e 0d 54 68 65 20 46 57 |roductio|n.The FW|
|00002940| 5f 58 50 72 69 76 45 78 | 63 65 70 74 69 6f 6e 20 |_XPrivEx|ception |
|00002950| 63 6c 61 73 73 20 69 73 | 20 74 68 65 20 72 6f 6f |class is| the roo|
|00002960| 74 20 63 6c 61 73 73 20 | 66 6f 72 20 61 6c 6c 20 |t class |for all |
|00002970| 65 78 63 65 70 74 69 6f | 6e 73 20 74 68 72 6f 77 |exceptio|ns throw|
|00002980| 6e 20 62 79 20 4f 50 46 | 2e 0d 48 65 61 64 65 72 |n by OPF|..Header|
|00002990| 20 66 69 6c 65 0d 46 57 | 50 72 69 45 78 63 2e 68 | file.FW|PriExc.h|
|000029a0| 0d 48 65 72 69 74 61 67 | 65 0d 5f 46 57 5f 43 45 |.Heritag|e._FW_CE|
|000029b0| 78 63 65 70 74 69 6f 6e | 0d a5 20 46 57 5f 58 50 |xception|.. FW_XP|
|000029c0| 72 69 76 45 78 63 65 70 | 74 69 6f 6e 09 31 31 0d |rivExcep|tion.11.|
|000029d0| 55 73 69 6e 67 20 46 57 | 5f 58 50 72 69 76 45 78 |Using FW|_XPrivEx|
|000029e0| 63 65 70 74 69 6f 6e 0d | 4e 65 65 64 20 63 6c 61 |ception.|Need cla|
|000029f0| 73 73 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 68 |ss descr|iption h|
|00002a00| 65 72 65 0d 46 57 5f 58 | 50 72 69 76 45 78 63 65 |ere.FW_X|PrivExce|
|00002a10| 70 74 69 6f 6e 20 73 75 | 62 63 6c 61 73 73 65 73 |ption su|bclasses|
|00002a20| 0d 54 68 65 72 65 20 61 | 72 65 20 6e 6f 20 73 75 |.There a|re no su|
|00002a30| 62 63 6c 61 73 73 65 73 | 20 6f 66 20 46 57 5f 58 |bclasses| of FW_X|
|00002a40| 50 72 69 76 45 78 63 65 | 70 74 69 6f 6e 20 69 6e |PrivExce|ption in|
|00002a50| 20 74 68 69 73 20 63 6f | 6d 70 6f 6e 65 6e 74 2e | this co|mponent.|
|00002a60| 20 48 6f 77 65 76 65 72 | 2c 20 6e 6f 74 65 20 74 | However|, note t|
|00002a70| 68 61 74 20 6f 74 68 65 | 72 20 4f 50 46 20 63 6f |hat othe|r OPF co|
|00002a80| 6d 70 6f 6e 65 6e 74 73 | 20 73 75 62 63 6c 61 73 |mponents| subclas|
|00002a90| 73 20 74 68 69 73 20 63 | 6c 61 73 73 20 74 6f 20 |s this c|lass to |
|00002aa0| 70 72 6f 76 69 64 65 20 | 74 68 65 69 72 20 6f 77 |provide |their ow|
|00002ab0| 6e 20 65 78 63 65 70 74 | 69 6f 6e 73 2e 0d 52 65 |n except|ions..Re|
|00002ac0| 6c 61 74 65 64 20 63 6c | 61 73 73 65 73 0d 4e 6f |lated cl|asses.No|
|00002ad0| 6e 65 2e 0d 53 75 62 63 | 6c 61 73 73 69 6e 67 20 |ne..Subc|lassing |
|00002ae0| 46 57 5f 58 50 72 69 76 | 45 78 63 65 70 74 69 6f |FW_XPriv|Exceptio|
|00002af0| 6e 0d 59 6f 75 20 75 73 | 75 61 6c 6c 79 20 64 6f |n.You us|ually do|
|00002b00| 20 6e 6f 74 20 73 75 62 | 63 6c 61 73 73 20 74 68 | not sub|class th|
|00002b10| 69 73 20 63 6c 61 73 73 | 2e 0d 46 57 5f 58 50 72 |is class|..FW_XPr|
|00002b20| 69 76 45 78 63 65 70 74 | 69 6f 6e 20 4d 65 74 68 |ivExcept|ion Meth|
|00002b30| 6f 64 73 0d 0d 46 57 5f | 58 50 72 69 76 45 78 63 |ods..FW_|XPrivExc|
|00002b40| 65 70 74 69 6f 6e 28 29 | 3b 0d 0d 44 65 66 61 75 |eption()|;..Defau|
|00002b50| 6c 74 20 63 6f 6e 73 74 | 72 75 63 74 6f 72 2e 0d |lt const|ructor..|
|00002b60| 0d 46 57 5f 58 50 72 69 | 76 45 78 63 65 70 74 69 |.FW_XPri|vExcepti|
|00002b70| 6f 6e 28 50 6c 61 74 66 | 6f 72 6d 45 72 72 6f 72 |on(Platf|ormError|
|00002b80| 20 74 68 65 45 72 72 6f | 72 29 3b 0d 0d 49 6e 69 | theErro|r);..Ini|
|00002b90| 74 69 61 6c 69 7a 65 20 | 74 68 65 20 65 78 63 65 |tialize |the exce|
|00002ba0| 70 74 69 6f 6e 2e 20 54 | 68 65 20 74 68 65 45 72 |ption. T|he theEr|
|00002bb0| 72 6f 72 20 70 61 72 61 | 6d 65 74 65 72 20 63 6f |ror para|meter co|
|00002bc0| 6e 74 61 69 6e 73 20 74 | 68 65 20 65 72 72 6f 72 |ntains t|he error|
|00002bd0| 20 67 65 6e 65 72 61 74 | 65 64 20 62 79 20 74 68 | generat|ed by th|
|00002be0| 65 20 6f 70 65 72 61 74 | 69 6e 67 20 73 79 73 74 |e operat|ing syst|
|00002bf0| 65 6d 20 6f 66 20 74 68 | 65 20 6d 61 63 68 69 6e |em of th|e machin|
|00002c00| 65 20 6f 6e 20 77 68 69 | 63 68 20 74 68 65 20 70 |e on whi|ch the p|
|00002c10| 61 72 74 20 69 73 20 62 | 65 69 6e 67 20 72 75 6e |art is b|eing run|
|00002c20| 2e 0d 0d 0d 46 57 5f 58 | 50 72 69 76 45 78 63 65 |....FW_X|PrivExce|
|00002c30| 70 74 69 6f 6e 28 0d 09 | 09 09 63 6f 6e 73 74 20 |ption(..|..const |
|00002c40| 46 57 5f 58 50 72 69 76 | 45 78 63 65 70 74 69 6f |FW_XPriv|Exceptio|
|00002c50| 6e 26 20 65 78 63 65 70 | 74 69 6f 6e 29 3b 0d 0d |n& excep|tion);..|
|00002c60| 43 6f 70 79 20 63 6f 6e | 73 74 72 75 63 74 6f 72 |Copy con|structor|
|00002c70| 2e 0d 0d 76 69 72 74 75 | 61 6c 20 7e 46 57 5f 58 |...virtu|al ~FW_X|
|00002c80| 50 72 69 76 45 78 63 65 | 70 74 69 6f 6e 28 29 3b |PrivExce|ption();|
|00002c90| 0d 0d 45 6d 70 74 79 20 | 64 65 73 74 72 75 63 74 |..Empty |destruct|
|00002ca0| 6f 72 2e 0d 0d 50 6c 61 | 74 66 6f 72 6d 45 72 72 |or...Pla|tformErr|
|00002cb0| 6f 72 20 47 65 74 50 6c | 61 74 66 6f 72 6d 45 72 |or GetPl|atformEr|
|00002cc0| 72 6f 72 28 29 20 63 6f | 6e 73 74 3b 0d 0d 52 65 |ror() co|nst;..Re|
|00002cd0| 74 75 72 6e 73 20 74 68 | 65 20 70 6c 61 74 66 6f |turns th|e platfo|
|00002ce0| 72 6d 20 65 72 72 6f 72 | 20 67 65 6e 65 72 61 74 |rm error| generat|
|00002cf0| 65 64 20 62 79 20 74 68 | 65 20 6d 61 63 68 69 6e |ed by th|e machin|
|00002d00| 65 20 6f 6e 20 77 68 69 | 63 68 20 74 68 65 20 70 |e on whi|ch the p|
|00002d10| 61 72 74 20 69 73 20 62 | 65 69 6e 67 20 72 75 6e |art is b|eing run|
|00002d20| 2e 0d 0d 50 6c 61 74 66 | 6f 72 6d 45 72 72 6f 72 |...Platf|ormError|
|00002d30| 41 76 61 69 6c 61 62 69 | 6c 69 74 79 20 47 65 74 |Availabi|lity Get|
|00002d40| 50 6c 61 74 66 6f 72 6d | 45 72 72 6f 72 41 76 61 |Platform|ErrorAva|
|00002d50| 69 6c 61 62 69 6c 69 74 | 79 28 29 20 63 6f 6e 73 |ilabilit|y() cons|
|00002d60| 74 3b 0d 0d 52 65 74 75 | 72 6e 20 77 68 65 74 68 |t;..Retu|rn wheth|
|00002d70| 65 72 20 70 6c 61 74 66 | 6f 72 6d 20 65 72 72 6f |er platf|orm erro|
|00002d80| 72 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |rs are a|vailable|
|00002d90| 2c 20 61 73 20 66 6f 6c | 6c 6f 77 73 3a 0d a5 09 |, as fol|lows:...|
|00002da0| 65 50 6c 61 74 66 6f 72 | 6d 45 72 72 6f 72 4e 6f |ePlatfor|mErrorNo|
|00002db0| 74 41 76 61 69 6c 61 62 | 6c 65 0d a5 09 65 50 6c |tAvailab|le...ePl|
|00002dc0| 61 74 66 6f 72 6d 45 72 | 72 6f 72 41 76 61 69 6c |atformEr|rorAvail|
|00002dd0| 61 62 6c 65 0d 0d 5e 00 | 00 00 00 03 18 02 64 00 |able..^.|......d.|
|00002de0| 11 02 ff 0c 00 ff ff ff | ff 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 02 64 00 00 03 18 00 | 00 00 00 00 00 00 01 00 |..d.....|........|
|00002e00| 0a 00 00 00 00 03 18 02 | 64 00 0a 00 00 00 00 00 |........|d.......|
|00002e10| 00 00 00 00 34 02 b4 00 | 6c 02 be 02 0a 00 2c 00 |....4...|l.....,.|
|00002e20| 08 00 14 05 54 69 6d 65 | 73 00 03 00 14 00 04 02 |....Time|s.......|
|00002e30| 00 00 0d 00 0a 00 2e 00 | 04 00 00 01 00 00 15 fd |........|........|
|00002e40| 60 00 28 02 bb 01 8f 14 | 4f 50 46 20 52 65 66 65 |`.(.....|OPF Refe|
|00002e50| 72 65 6e 63 65 20 4d 61 | 6e 75 61 6c 00 00 29 76 |rence Ma|nual..)v|
|00002e60| 01 31 00 00 0a ff ff ff | ff ff ff ff ff 00 74 00 |.1......|......t.|
|00002e70| 1e 00 b4 01 f8 00 c6 02 | 0a 00 bd 02 0a 00 c6 02 |........|........|
|00002e80| 01 00 bd 01 f8 00 b4 02 | 01 00 bd 02 0a 00 70 00 |........|......p.|
|00002e90| 1e 00 b4 01 f8 00 c6 02 | 0a 00 bd 02 0a 00 c6 02 |........|........|
|00002ea0| 01 00 bd 01 f8 00 b4 02 | 01 00 bd 02 0a 00 20 00 |........|...... .|
|00002eb0| bd 00 6c 00 bd 01 ef 00 | 04 03 00 00 0d 00 24 00 |..l.....|......$.|
|00002ec0| 15 bf 14 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00002ed0| 00 00 7b 01 48 00 9f 01 | ec 00 28 00 96 01 48 0a |..{.H...|..(...H.|
|00002ee0| 45 78 63 65 70 74 69 6f | 6e 73 00 00 15 b6 94 00 |Exceptio|ns......|
|00002ef0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 0b 00 9f 01 |..d..ONL|N.d.....|
|00002f00| 40 00 c3 01 ec 00 28 00 | ba 01 40 09 43 6f 6d 70 |@.....(.|..@.Comp|
|00002f10| 6f 6e 65 6e 74 00 15 c0 | 14 00 a1 00 64 00 10 4f |onent...|....d..O|
|00002f20| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|00002f30| 2b 9a 24 01 31 00 04 01 | 00 00 0d 00 0f 00 a1 00 |+.$.1...|........|
|00002f40| 64 00 10 4f 4e 4c 4e 00 | 64 00 16 01 04 00 e1 01 |d..ONLN.|d.......|
|00002f50| 13 01 32 00 28 01 0f 00 | e1 0c 49 6e 74 72 6f 64 |..2.(...|..Introd|
|00002f60| 75 63 74 69 6f 6e 00 00 | 04 00 00 00 0d 00 0a 00 |uction..|........|
|00002f70| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 23 01 18 00 |..d..ONL|N.d.#...|
|00002f80| e1 01 24 02 09 00 2a 12 | 4d 41 73 20 61 20 63 6c |..$...*.|MAs a cl|
|00002f90| 61 73 73 20 6c 69 62 72 | 61 72 79 2c 20 4f 50 46 |ass libr|ary, OPF|
|00002fa0| 20 64 65 74 65 63 74 73 | 20 65 72 72 6f 72 73 20 | detects| errors |
|00002fb0| 74 68 61 74 20 74 68 65 | 20 70 61 72 74 20 6f 62 |that the| part ob|
|00002fc0| 6a 65 63 74 73 20 6d 75 | 73 74 20 68 61 6e 64 6c |jects mu|st handl|
|00002fd0| 65 2e 20 49 6e 20 00 00 | 06 ff ff e1 ec 00 a1 00 |e. In ..|........|
|00002fe0| 64 00 10 4f 4e 4c 4e 00 | 64 00 70 01 24 00 e1 01 |d..ONLN.|d.p.$...|
|00002ff0| 30 02 09 00 2a 0c 4b 74 | 68 6f 73 65 20 63 61 73 |0...*.Kt|hose cas|
|00003000| 65 73 20 77 68 65 72 65 | 20 74 68 65 20 6c 69 62 |es where| the lib|
|00003010| 72 61 72 79 20 64 6f 65 | 73 20 6e 6f 74 20 6b 6e |rary doe|s not kn|
|00003020| 6f 77 20 68 6f 77 20 74 | 6f 20 68 61 6e 64 6c 65 |ow how t|o handle|
|00003030| 20 61 6e 20 65 72 72 6f | 72 2c 20 69 74 20 63 61 | an erro|r, it ca|
|00003040| 6e 20 00 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |n ......|....d..O|
|00003050| 4e 4c 4e 00 64 00 bb 01 | 30 00 e1 01 3c 02 03 00 |NLN.d...|0...<...|
|00003060| 2a 0c 48 d2 74 68 72 6f | 77 d3 20 61 6e 20 65 78 |*.H.thro|w. an ex|
|00003070| 63 65 70 74 69 6f 6e 20 | 6f 62 6a 65 63 74 20 74 |ception |object t|
|00003080| 68 61 74 20 6d 61 79 20 | 63 6f 6e 74 61 69 6e 20 |hat may |contain |
|00003090| 64 61 74 61 2e 20 54 68 | 65 20 70 61 72 74 20 63 |data. Th|e part c|
|000030a0| 61 6e 20 d2 63 61 74 63 | 68 d3 20 00 a1 00 64 00 |an .catc|h. ...d.|
|000030b0| 10 4f 4e 4c 4e 00 64 01 | 03 01 3c 00 e1 01 48 01 |.ONLN.d.|..<...H.|
|000030c0| f5 00 2a 0c 46 74 68 69 | 73 20 6f 62 6a 65 63 74 |..*.Fthi|s object|
|000030d0| 20 61 6e 64 20 64 6f 20 | 77 68 61 74 65 76 65 72 | and do |whatever|
|000030e0| 20 69 73 20 6e 65 63 65 | 73 73 61 72 79 2e 20 54 | is nece|ssary. T|
|000030f0| 68 75 73 2c 20 74 68 65 | 20 6c 69 62 72 61 72 79 |hus, the| library|
|00003100| 20 6e 65 65 64 20 6f 6e | 6c 79 20 00 a1 00 64 00 | need on|ly ...d.|
|00003110| 10 4f 4e 4c 4e 00 64 01 | 49 01 48 00 e1 01 54 01 |.ONLN.d.|I.H...T.|
|00003120| af 00 2a 0c 34 64 65 73 | 63 72 69 62 65 20 74 68 |..*.4des|cribe th|
|00003130| 65 20 74 79 70 65 73 20 | 6f 66 20 65 78 63 65 70 |e types |of excep|
|00003140| 74 69 6f 6e 73 20 74 68 | 61 74 20 63 61 6e 20 62 |tions th|at can b|
|00003150| 65 20 74 68 72 6f 77 6e | 2e 00 a1 00 64 00 10 4f |e thrown|....d..O|
|00003160| 4e 4c 4e 00 64 01 7e 01 | 5e 00 e1 01 6a 02 08 00 |NLN.d.~.|^...j...|
|00003170| 2a 16 47 4f 50 46 20 70 | 72 6f 76 69 64 65 73 20 |*.GOPF p|rovides |
|00003180| 61 6e 20 65 78 63 65 70 | 74 69 6f 6e 2d 68 61 6e |an excep|tion-han|
|00003190| 64 6c 69 6e 67 20 63 6f | 6d 70 6f 6e 65 6e 74 20 |dling co|mponent |
|000031a0| 74 68 61 74 20 64 65 66 | 69 6e 65 73 20 74 68 65 |that def|ines the|
|000031b0| 20 70 72 6f 74 6f 63 6f | 6c 20 00 00 a1 00 64 00 | protoco|l ....d.|
|000031c0| 10 4f 4e 4c 4e 00 64 01 | c5 01 6a 00 e1 01 76 01 |.ONLN.d.|..j...v.|
|000031d0| f6 00 2a 0c 47 4f 50 46 | 20 75 73 65 73 20 74 6f |..*.GOPF| uses to|
|000031e0| 20 74 68 72 6f 77 20 65 | 78 63 65 70 74 69 6f 6e | throw e|xception|
|000031f0| 73 2e 20 49 74 20 69 73 | 20 79 6f 75 72 20 72 65 |s. It is| your re|
|00003200| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 74 6f 20 |sponsibi|lity to |
|00003210| 63 61 74 63 68 20 74 68 | 6f 73 65 20 00 00 a1 00 |catch th|ose ....|
|00003220| 64 00 10 4f 4e 4c 4e 00 | 64 02 0c 01 76 00 e1 01 |d..ONLN.|d...v...|
|00003230| 82 01 77 00 2a 0c 24 65 | 78 63 65 70 74 69 6f 6e |..w.*.$e|xception|
|00003240| 73 20 61 6e 64 20 68 61 | 6e 64 6c 65 20 74 68 65 |s and ha|ndle the|
|00003250| 6d 20 70 72 6f 70 65 72 | 6c 79 2e 00 04 01 00 00 |m proper|ly......|
|00003260| 0d 00 0c 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00003270| 31 01 8d 00 e1 01 99 01 | 12 00 2a 17 09 44 69 72 |1.......|..*..Dir|
|00003280| 65 63 74 6f 72 79 00 00 | 2c 00 0a 00 16 07 43 6f |ectory..|,.....Co|
|00003290| 75 72 69 65 72 00 03 00 | 16 00 04 00 00 00 0d 00 |urier...|........|
|000032a0| 0a 00 2e 00 04 00 00 00 | 00 00 a1 00 64 00 10 4f |........|....d..O|
|000032b0| 4e 4c 4e 00 64 02 3b 01 | 9b 00 e1 01 a7 01 11 00 |NLN.d.;.|........|
|000032c0| 2a 0e 08 46 57 45 78 63 | 4c 69 62 00 03 00 14 00 |*..FWExc|Lib.....|
|000032d0| 04 01 00 00 0d 00 0c 00 | 2e 00 04 00 00 01 00 00 |........|........|
|000032e0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 44 01 b2 00 |..d..ONL|N.d.D...|
|000032f0| e1 01 be 01 0d 00 2a 17 | 08 48 65 72 69 74 61 67 |......*.|.Heritag|
|00003300| 65 00 03 00 16 00 04 00 | 00 00 0d 00 0a 00 2e 00 |e.......|........|
|00003310| 04 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00003320| 64 02 4d 01 c3 00 e1 01 | cf 01 35 00 2a 11 0e 5f |d.M.....|..5.*.._|
|00003330| 46 57 5f 43 45 78 63 65 | 70 74 69 6f 6e 00 03 00 |FW_CExce|ption...|
|00003340| 14 00 2e 00 04 00 00 01 | 00 00 15 00 00 00 a1 00 |........|........|
|00003350| 64 00 10 4f 4e 4c 4e 00 | 64 ff ff 00 00 00 00 00 |d..ONLN.|d.......|
|00003360| 00 00 00 00 29 5c 01 2e | 00 00 a1 00 64 00 10 4f |....)\..|....d..O|
|00003370| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|00003380| 29 0c 01 2e 00 00 15 00 | 00 00 a1 00 64 00 10 4f |).......|....d..O|
|00003390| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|000033a0| 29 0d 01 2e 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |).......|d..ONLN.|
|000033b0| 64 ff ff 00 00 00 00 00 | 00 00 00 00 29 0c 01 2e |d.......|....)...|
|000033c0| 00 00 15 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000033d0| 64 ff ff 00 00 00 00 00 | 00 00 00 00 29 0d 01 2e |d.......|....)...|
|000033e0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 ff ff 00 |....d..O|NLN.d...|
|000033f0| 00 00 00 00 00 00 00 00 | 29 0c 01 2e 00 00 15 00 |........|).......|
|00003400| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 ff ff 00 |....d..O|NLN.d...|
|00003410| 00 00 00 00 00 00 00 00 | 29 0d 01 2e 00 00 a1 00 |........|).......|
|00003420| 64 00 10 4f 4e 4c 4e 00 | 64 ff ff 00 00 00 00 00 |d..ONLN.|d.......|
|00003430| 00 00 00 00 29 0c 01 2e | 00 00 15 00 00 00 a1 00 |....)...|........|
|00003440| 64 00 10 4f 4e 4c 4e 00 | 64 ff ff 00 00 00 00 00 |d..ONLN.|d.......|
|00003450| 00 00 00 00 29 0d 01 2e | 00 00 a1 00 64 00 10 4f |....)...|....d..O|
|00003460| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|00003470| 29 0c 01 2e 00 00 15 00 | 00 00 a1 00 64 00 10 4f |).......|....d..O|
|00003480| 4e 4c 4e 00 64 ff ff 00 | 00 00 00 00 00 00 00 00 |NLN.d...|........|
|00003490| 29 0d 01 2e 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |).......|d..ONLN.|
|000034a0| 64 ff ff 00 00 00 00 00 | 00 00 00 00 29 0c 01 2e |d.......|....)...|
|000034b0| 00 00 15 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000034c0| 64 ff ff 00 00 00 00 00 | 00 00 00 00 29 0d 01 2e |d.......|....)...|
|000034d0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 ff ff 00 |....d..O|NLN.d...|
|000034e0| 00 00 00 00 00 00 00 00 | 29 0c 01 2e 00 00 15 00 |........|).......|
|000034f0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 ff ff 00 |....d..O|NLN.d...|
|00003500| 00 00 00 00 00 00 00 00 | 29 0d 01 2e 00 00 a1 00 |........|).......|
|00003510| 64 00 10 4f 4e 4c 4e 00 | 64 ff ff 00 00 00 00 00 |d..ONLN.|d.......|
|00003520| 00 00 00 00 29 0c 01 2e | 00 00 a1 00 64 00 10 4f |....)...|....d..O|
|00003530| 4e 4c 4e 00 64 02 5d 01 | c3 02 00 01 cf 02 0a 00 |NLN.d.].|........|
|00003540| 29 08 02 31 31 00 03 00 | 16 00 2e 00 04 00 00 00 |)..11...|........|
|00003550| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 60 01 |....d..O|NLN.d.`.|
|00003560| d3 00 e1 01 df 01 47 00 | 28 01 dc 00 e1 11 46 57 |......G.|(.....FW|
|00003570| 5f 58 50 72 69 76 45 78 | 63 65 70 74 69 6f 6e 00 |_XPrivEx|ception.|
|00003580| 03 00 14 00 2e 00 04 00 | 00 01 00 00 a1 00 64 00 |........|......d.|
|00003590| 10 4f 4e 4c 4e 00 64 ff | ff 00 00 00 00 00 00 00 |.ONLN.d.|........|
|000035a0| 00 00 29 68 01 2e 00 00 | 15 00 00 00 a1 00 64 00 |..)h....|......d.|
|000035b0| 10 4f 4e 4c 4e 00 64 ff | ff 00 00 00 00 00 00 00 |.ONLN.d.|........|
|000035c0| 00 00 29 0d 01 2e 00 00 | a1 00 64 00 10 4f 4e 4c |..).....|..d..ONL|
|000035d0| 4e 00 64 ff ff 00 00 00 | 00 00 00 00 00 00 29 0c |N.d.....|......).|
|000035e0| 01 2e 00 00 15 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000035f0| 4e 00 64 ff ff 00 00 00 | 00 00 00 00 00 00 29 0d |N.d.....|......).|
|00003600| 01 2e 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 ff |......d.|.ONLN.d.|
|00003610| ff 00 00 00 00 00 00 00 | 00 00 29 0c 01 2e 00 00 |........|..).....|
|00003620| 15 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 ff |......d.|.ONLN.d.|
|00003630| ff 00 00 00 00 00 00 00 | 00 00 29 0d 01 2e 00 00 |........|..).....|
|00003640| a1 00 64 00 10 4f 4e 4c | 4e 00 64 ff ff 00 00 00 |..d..ONL|N.d.....|
|00003650| 00 00 00 00 00 00 29 0c | 01 2e 00 00 15 00 00 00 |......).|........|
|00003660| a1 00 64 00 10 4f 4e 4c | 4e 00 64 ff ff 00 00 00 |..d..ONL|N.d.....|
|00003670| 00 00 00 00 00 00 29 0d | 01 2e 00 00 a1 00 64 00 |......).|......d.|
|00003680| 10 4f 4e 4c 4e 00 64 ff | ff 00 00 00 00 00 00 00 |.ONLN.d.|........|
|00003690| 00 00 29 0c 01 2e 00 00 | 15 00 00 00 a1 00 64 00 |..).....|......d.|
|000036a0| 10 4f 4e 4c 4e 00 64 ff | ff 00 00 00 00 00 00 00 |.ONLN.d.|........|
|000036b0| 00 00 29 0d 01 2e 00 00 | a1 00 64 00 10 4f 4e 4c |..).....|..d..ONL|
|000036c0| 4e 00 64 ff ff 00 00 00 | 00 00 00 00 00 00 29 0c |N.d.....|......).|
|000036d0| 01 2e 00 00 15 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000036e0| 4e 00 64 ff ff 00 00 00 | 00 00 00 00 00 00 29 0d |N.d.....|......).|
|000036f0| 01 2e 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 ff |......d.|.ONLN.d.|
|00003700| ff 00 00 00 00 00 00 00 | 00 00 29 0c 01 2e 00 00 |........|..).....|
|00003710| 15 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 ff |......d.|.ONLN.d.|
|00003720| ff 00 00 00 00 00 00 00 | 00 00 29 0d 01 2e 00 00 |........|..).....|
|00003730| a1 00 64 00 10 4f 4e 4c | 4e 00 64 ff ff 00 00 00 |..d..ONL|N.d.....|
|00003740| 00 00 00 00 00 00 29 0c | 01 2e 00 00 a1 00 64 00 |......).|......d.|
|00003750| 10 4f 4e 4c 4e 00 64 02 | 73 01 d3 02 00 01 df 02 |.ONLN.d.|s.......|
|00003760| 0a 00 29 08 02 31 33 00 | 01 00 0a 01 ee 00 e1 02 |..)..13.|........|
|00003770| 00 02 0a 00 0a 00 00 00 | 00 00 00 00 00 00 34 01 |........|......4.|
|00003780| ef 00 e1 02 00 02 0a 00 | 20 01 f3 00 e1 01 f3 02 |........| .......|
|00003790| 0a 00 0d 00 09 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000037a0| 64 02 76 01 f4 00 e1 01 | ff 00 f2 00 28 01 fc 00 |d.v.....|....(...|
|000037b0| e1 04 4e 6f 74 65 00 00 | 01 00 0a 00 00 00 00 03 |..Note..|........|
|000037c0| 18 02 64 00 0d 00 0a 00 | a1 00 64 00 10 4f 4e 4c |..d.....|..d..ONL|
|000037d0| 4e 00 64 02 7b 01 fe 01 | 05 02 0a 01 d4 00 2b 24 |N.d.{...|......+$|
|000037e0| 0b 33 4f 6e 6c 79 20 74 | 68 65 20 74 6f 70 6d 6f |.3Only t|he topmo|
|000037f0| 73 74 20 6c 61 79 65 72 | 73 20 6f 66 20 74 68 65 |st layer|s of the|
|00003800| 20 65 78 63 65 70 74 69 | 6f 6e 73 20 74 68 61 74 | excepti|ons that|
|00003810| 20 4f 50 46 20 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | OPF ...|d..ONLN.|
|00003820| 64 02 ae 02 0a 01 05 02 | 16 01 c5 00 2a 0c 30 70 |d.......|....*.0p|
|00003830| 72 6f 76 69 64 65 73 20 | 61 72 65 20 64 65 73 63 |rovides |are desc|
|00003840| 72 69 62 65 64 20 69 6e | 20 74 68 69 73 20 63 6f |ribed in| this co|
|00003850| 6d 70 6f 6e 65 6e 74 3b | 20 6f 74 68 65 72 20 00 |mponent;| other .|
|00003860| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 de 02 16 01 |..d..ONL|N.d.....|
|00003870| 05 02 22 01 d7 00 2a 0c | 33 65 78 63 65 70 74 69 |.."...*.|3excepti|
|00003880| 6f 6e 20 63 6c 61 73 73 | 65 73 20 62 65 6c 6f 6e |on class|es belon|
|00003890| 67 20 74 6f 20 74 68 65 | 20 63 6f 6d 70 6f 6e 65 |g to the| compone|
|000038a0| 6e 74 20 74 6f 20 77 68 | 69 63 68 20 00 00 a1 00 |nt to wh|ich ....|
|000038b0| 64 00 10 4f 4e 4c 4e 00 | 64 03 11 02 22 01 05 02 |d..ONLN.|d..."...|
|000038c0| 2e 01 c6 00 2a 0c 31 74 | 68 6f 73 65 20 65 78 63 |....*.1t|hose exc|
|000038d0| 65 70 74 69 6f 6e 73 20 | 61 70 70 6c 79 2c 20 61 |eptions |apply, a|
|000038e0| 6e 64 20 61 72 65 20 64 | 65 73 63 72 69 62 65 64 |nd are d|escribed|
|000038f0| 20 69 6e 20 74 68 65 20 | 00 00 01 00 0a 02 39 00 | in the |......9.|
|00003900| e1 02 40 02 0a 00 34 02 | 3a 00 e1 02 40 02 0a 00 |..@...4.|:...@...|
|00003910| 20 02 3d 00 e1 02 3d 02 | 0a 00 01 00 0a 00 00 00 | .=...=.|........|
|00003920| 00 03 18 02 64 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |....d...|d..ONLN.|
|00003930| 64 03 42 02 2e 01 05 02 | 3a 01 63 00 2a 0c 16 61 |d.B.....|:.c.*..a|
|00003940| 70 70 72 6f 70 72 69 61 | 74 65 20 63 6f 6d 70 6f |ppropria|te compo|
|00003950| 6e 65 6e 74 2e 00 04 01 | 00 00 0d 00 0f 00 a1 00 |nent....|........|
|00003960| 64 00 10 4f 4e 4c 4e 00 | 64 03 5a 02 4b 00 e1 02 |d..ONLN.|d.Z.K...|
|00003970| 5a 01 84 00 28 02 56 00 | e1 16 43 6f 6d 70 6f 6e |Z...(.V.|..Compon|
|00003980| 65 6e 74 20 64 65 70 65 | 6e 64 65 6e 63 69 65 73 |ent depe|ndencies|
|00003990| 00 00 04 00 00 00 0d 00 | 0a 00 a1 00 64 00 10 4f |........|....d..O|
|000039a0| 4e 4c 4e 00 64 03 71 02 | 5f 00 e1 02 6b 01 ee 00 |NLN.d.q.|_...k...|
|000039b0| 2a 12 3e 54 68 65 20 45 | 78 63 65 70 74 69 6f 6e |*.>The E|xception|
|000039c0| 73 20 63 6f 6d 70 6f 6e | 65 6e 74 20 64 65 70 65 |s compon|ent depe|
|000039d0| 6e 64 73 20 75 70 6f 6e | 20 74 68 65 20 54 61 73 |nds upon| the Tas|
|000039e0| 6b 47 6c 6f 62 61 6c 73 | 20 61 6e 64 20 74 68 65 |kGlobals| and the|
|000039f0| 20 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 af 02 | ...d..O|NLN.d...|
|00003a00| 6b 00 e1 02 77 01 f7 00 | 2a 0c 45 43 6c 61 73 73 |k...w...|*.EClass|
|00003a10| 49 6e 66 6f 20 63 6f 6d | 70 6f 6e 65 6e 74 73 2e |Info com|ponents.|
|00003a20| 20 41 6c 73 6f 20 6e 6f | 74 65 20 74 68 61 74 20 | Also no|te that |
|00003a30| 74 68 65 20 73 74 79 6c | 65 20 6f 66 20 65 78 63 |the styl|e of exc|
|00003a40| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 69 6e 67 20 |eption h|andling |
|00003a50| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 f4 02 |....d..O|NLN.d...|
|00003a60| 77 00 e1 02 83 02 07 00 | 2a 0c 49 69 6d 70 6c 65 |w.......|*.Iimple|
|00003a70| 6d 65 6e 74 65 64 20 62 | 79 20 74 68 69 73 20 63 |mented b|y this c|
|00003a80| 6f 6d 70 6f 6e 65 6e 74 | 20 72 65 71 75 69 72 65 |omponent| require|
|00003a90| 73 20 74 68 61 74 20 6f | 6e 65 20 6f 66 20 74 68 |s that o|ne of th|
|00003aa0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 69 73 20 74 |e follow|ing is t|
|00003ab0| 72 75 65 3a 00 00 0d 00 | 09 00 15 33 33 00 a1 00 |rue:....|...33...|
|00003ac0| 64 00 10 4f 4e 4c 4e 00 | 64 04 3f 02 8e 00 f6 02 |d..ONLN.|d.?.....|
|00003ad0| 99 00 fc 00 2b 15 16 02 | 31 2e 00 00 0d 00 0a 00 |....+...|1.......|
|00003ae0| 15 e6 66 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 04 |..f...d.|.ONLN.d.|
|00003af0| 42 02 8d 01 01 02 99 01 | d9 00 29 0b 34 54 68 65 |B.......|..).4The|
|00003b00| 20 63 6f 6d 70 69 6c 65 | 72 20 62 65 69 6e 67 20 | compile|r being |
|00003b10| 75 73 65 64 20 73 75 70 | 70 6f 72 74 73 20 65 78 |used sup|ports ex|
|00003b20| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 69 6e 67 |ception |handling|
|00003b30| 2e 00 ff 0d 88 00 00 00 | 00 03 18 02 64 00 11 02 |........|....d...|
|00003b40| ff 0c 00 ff ff ff ff 00 | 00 00 00 00 00 00 00 02 |........|........|
|00003b50| 64 00 00 03 18 00 00 00 | 00 00 00 00 01 00 0a 00 |d.......|........|
|00003b60| 00 00 00 03 18 02 64 00 | 0a 00 00 00 00 00 00 00 |......d.|........|
|00003b70| 00 00 34 00 6f 00 6c 00 | 79 01 f8 00 2c 00 08 00 |..4.o.l.|y...,...|
|00003b80| 14 05 54 69 6d 65 73 00 | 03 00 14 00 04 03 00 00 |..Times.|........|
|00003b90| 0d 00 0e 00 2e 00 04 00 | 00 01 00 00 2b 6c 78 01 |........|....+lx.|
|00003ba0| 31 00 29 1b 14 45 78 63 | 65 70 74 69 6f 6e 73 20 |1.)..Exc|eptions |
|00003bb0| 43 6f 6d 70 6f 6e 65 6e | 74 00 20 00 7e 00 6c 00 |Componen|t. .~.l.|
|00003bc0| 7e 01 f8 00 34 02 b3 00 | 5a 02 bd 01 f8 00 04 02 |~...4...|Z.......|
|00003bd0| 00 00 0d 00 0a 00 28 02 | b9 00 5a 01 32 00 29 1b |......(.|..Z.2.).|
|00003be0| 14 4f 50 46 20 52 65 66 | 65 72 65 6e 63 65 20 4d |.OPF Ref|erence M|
|00003bf0| 61 6e 75 61 6c 00 0a ff | ff ff ff ff ff ff ff 00 |anual...|........|
|00003c00| 74 00 1e 00 7a 00 5a 00 | 83 00 63 00 7e 00 63 00 |t...z.Z.|..c.~.c.|
|00003c10| 83 00 5f 00 7e 00 5a 00 | 7a 00 5f 00 7e 00 63 00 |.._.~.Z.|z._.~.c.|
|00003c20| 70 00 1e 00 7a 00 5a 00 | 83 00 63 00 7e 00 63 00 |p...z.Z.|..c.~.c.|
|00003c30| 83 00 5f 00 7e 00 5a 00 | 7a 00 5f 00 7e 00 63 00 |.._.~.Z.|z._.~.c.|
|00003c40| 0a 00 00 00 00 00 00 00 | 00 00 34 00 90 00 cf 02 |........|..4.....|
|00003c50| 9a 01 f8 00 04 00 00 00 | 0d 00 09 00 15 33 33 00 |........|.....33.|
|00003c60| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 00 00 8e 00 |..d..ONL|N.d.....|
|00003c70| e4 00 99 00 ea 00 28 00 | 96 00 e4 02 32 2e 00 00 |......(.|....2...|
|00003c80| 0d 00 0a 00 15 e6 66 00 | a1 00 64 00 10 4f 4e 4c |......f.|..d..ONL|
|00003c90| 4e 00 64 00 03 00 8d 00 | ef 00 99 01 a8 00 29 0b |N.d.....|......).|
|00003ca0| 2a 54 68 65 20 4f 50 46 | 20 45 78 63 65 70 74 69 |*The OPF| Excepti|
|00003cb0| 6f 6e 20 43 6f 6d 70 6f | 6e 65 6e 74 20 69 73 20 |on Compo|nent is |
|00003cc0| 62 65 69 6e 67 20 75 73 | 65 64 2e 00 a1 00 64 00 |being us|ed....d.|
|00003cd0| 10 4f 4e 4c 4e 00 64 00 | 2e 00 a3 00 cf 00 af 01 |.ONLN.d.|........|
|00003ce0| e7 00 28 00 ac 00 cf 3e | 4d 61 6e 79 20 4f 50 46 |..(....>|Many OPF|
|00003cf0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 73 20 64 65 70 65 | compone|nts depe|
|00003d00| 6e 64 20 75 70 6f 6e 20 | 74 68 65 20 65 78 63 65 |nd upon |the exce|
|00003d10| 70 74 69 6f 6e 73 20 63 | 6f 6d 70 6f 6e 65 6e 74 |ptions c|omponent|
|00003d20| 2e 20 41 6e 79 20 00 00 | a1 00 64 00 10 4f 4e 4c |. Any ..|..d..ONL|
|00003d30| 4e 00 64 00 6c 00 af 00 | cf 00 bb 01 f6 00 2a 0c |N.d.l...|......*.|
|00003d40| 48 63 6f 6d 70 6f 6e 65 | 6e 74 20 74 68 61 74 20 |Hcompone|nt that |
|00003d50| 63 6f 6e 74 61 69 6e 73 | 20 65 78 63 65 70 74 69 |contains| excepti|
|00003d60| 6f 6e 20 63 6c 61 73 73 | 65 73 20 28 62 79 20 63 |on class|es (by c|
|00003d70| 6f 6e 76 65 6e 74 69 6f | 6e 2c 20 63 6c 61 73 73 |onventio|n, class|
|00003d80| 65 73 20 77 68 6f 73 65 | 20 00 2e 00 04 00 00 00 |es whose| .......|
|00003d90| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 b4 00 |....d..O|NLN.d...|
|00003da0| bb 00 cf 00 c7 01 19 00 | 2a 0c 11 6e 61 6d 65 20 |........|*..name |
|00003db0| 62 65 67 69 6e 73 20 77 | 69 74 68 20 00 00 2c 00 |begins w|ith ..,.|
|00003dc0| 0a 00 16 07 43 6f 75 72 | 69 65 72 00 03 00 16 00 |....Cour|ier.....|
|00003dd0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 c5 00 bb 01 |..d..ONL|N.d.....|
|00003de0| 19 00 c7 01 31 00 29 4a | 04 46 57 5f 58 00 03 00 |....1.)J|.FW_X...|
|00003df0| 14 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 c9 00 |....d..O|NLN.d...|
|00003e00| bb 01 31 00 c7 01 dc 00 | 29 18 28 29 20 64 65 70 |..1.....|).() dep|
|00003e10| 65 6e 64 73 20 75 70 6f | 6e 20 74 68 65 20 45 78 |ends upo|n the Ex|
|00003e20| 63 65 70 74 69 6f 6e 73 | 20 63 6f 6d 70 6f 6e 65 |ceptions| compone|
|00003e30| 6e 74 2e 00 04 01 00 00 | 0d 00 0f 00 2e 00 04 00 |nt......|........|
|00003e40| 00 01 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00003e50| f2 00 d3 00 cf 00 e2 01 | b7 00 28 00 de 00 cf 21 |........|..(....!|
|00003e60| 43 61 74 63 68 69 6e 67 | 20 65 78 63 65 70 74 69 |Catching| excepti|
|00003e70| 6f 6e 73 20 74 68 72 6f | 77 6e 20 62 79 20 4f 50 |ons thro|wn by OP|
|00003e80| 46 00 04 00 00 00 0d 00 | 0a 00 a1 00 64 00 10 4f |F.......|....d..O|
|00003e90| 4e 4c 4e 00 64 01 14 00 | e6 00 cf 00 f2 01 e7 00 |NLN.d...|........|
|00003ea0| 2a 11 46 59 6f 75 72 20 | 6d 6f 73 74 20 69 6d 70 |*.FYour |most imp|
|00003eb0| 6f 72 74 61 6e 74 20 65 | 78 63 65 70 74 69 6f 6e |ortant e|xception|
|00003ec0| 2d 68 61 6e 64 6c 69 6e | 67 20 72 65 73 70 6f 6e |-handlin|g respon|
|00003ed0| 73 69 62 69 6c 69 74 79 | 20 69 73 20 74 6f 20 63 |sibility| is to c|
|00003ee0| 61 74 63 68 20 74 68 65 | 20 00 06 ff ff 87 f3 00 |atch the| .......|
|00003ef0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 5a 00 f2 00 |..d..ONL|N.d.Z...|
|00003f00| cf 00 fe 01 f7 00 2a 0c | 47 65 78 63 65 70 74 69 |......*.|Gexcepti|
|00003f10| 6f 6e 73 20 74 68 61 74 | 20 4f 50 46 20 74 68 72 |ons that| OPF thr|
|00003f20| 6f 77 73 2e 20 59 6f 75 | 20 73 68 6f 75 6c 64 20 |ows. You| should |
|00003f30| 6e 6f 72 6d 61 6c 6c 79 | 20 61 73 73 75 6d 65 20 |normally| assume |
|00003f40| 74 68 61 74 20 61 6e 79 | 20 6d 65 74 68 6f 64 20 |that any| method |
|00003f50| 00 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00003f60| 4e 00 64 01 a1 00 fe 00 | cf 01 0a 01 f4 00 2a 0c |N.d.....|......*.|
|00003f70| 4a 79 6f 75 20 63 61 6c | 6c 20 63 61 6e 20 74 68 |Jyou cal|l can th|
|00003f80| 72 6f 77 20 61 6e 20 65 | 78 63 65 70 74 69 6f 6e |row an e|xception|
|00003f90| 2e 20 49 66 20 61 20 6d | 65 74 68 6f 64 20 63 61 |. If a m|ethod ca|
|00003fa0| 6c 6c 73 20 61 6e 79 20 | 76 69 72 74 75 61 6c 20 |lls any |virtual |
|00003fb0| 6d 65 74 68 6f 64 2c 20 | 6f 72 20 00 06 ff ff bc |method, |or .....|
|00003fc0| 5a 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 eb 01 |Z...d..O|NLN.d...|
|00003fd0| 0a 00 cf 01 16 01 f7 00 | 2a 0c 4b 63 61 6c 6c 73 |........|*.Kcalls|
|00003fe0| 20 61 20 6e 6f 6e 2d 76 | 69 72 74 75 61 6c 20 6d | a non-v|irtual m|
|00003ff0| 65 74 68 6f 64 20 74 68 | 61 74 20 74 68 72 6f 77 |ethod th|at throw|
|00004000| 73 20 61 6e 20 65 78 63 | 65 70 74 69 6f 6e 2c 20 |s an exc|eption, |
|00004010| 61 6e 20 65 78 63 65 70 | 74 69 6f 6e 20 63 6f 75 |an excep|tion cou|
|00004020| 6c 64 20 62 65 20 00 00 | 06 00 00 00 00 00 a1 00 |ld be ..|........|
|00004030| 64 00 10 4f 4e 4c 4e 00 | 64 02 36 01 16 00 cf 01 |d..ONLN.|d.6.....|
|00004040| 22 00 f0 00 2a 0c 08 74 | 68 72 6f 77 6e 2e 20 00 |"...*..t|hrown. .|
|00004050| 01 00 0a 01 2e 00 cf 01 | 40 01 f8 00 34 01 2f 00 |........|@...4./.|
|00004060| cf 01 40 01 f8 00 20 01 | 33 00 cf 01 33 01 f8 00 |..@... .|3...3...|
|00004070| 0d 00 09 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00004080| 3f 01 34 00 cf 01 3f 00 | e0 00 2a 1d 04 4e 6f 74 |?.4...?.|..*..Not|
|00004090| 65 00 01 00 0a 00 00 00 | 00 03 18 02 64 00 0d 00 |e.......|....d...|
|000040a0| 0a 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 44 01 |....d..O|NLN.d.D.|
|000040b0| 3d 00 f3 01 49 01 cd 00 | 2b 24 0a 37 49 66 20 61 |=...I...|+$.7If a|
|000040c0| 20 63 61 6c 6c 20 63 68 | 61 69 6e 20 63 6f 6e 74 | call ch|ain cont|
|000040d0| 61 69 6e 73 20 6e 6f 20 | 76 69 72 74 75 61 6c 20 |ains no |virtual |
|000040e0| 6d 65 74 68 6f 64 73 20 | 61 6e 64 20 6e 6f 20 6e |methods |and no n|
|000040f0| 6f 6e 2d 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |on-...d.|.ONLN.d.|
|00004100| 7b 01 49 00 f3 01 55 01 | ce 00 2a 0c 37 76 69 72 |{.I...U.|..*.7vir|
|00004110| 74 75 61 6c 20 6d 65 74 | 68 6f 64 73 20 74 68 61 |tual met|hods tha|
|00004120| 74 20 74 68 72 6f 77 20 | 65 78 63 65 70 74 69 6f |t throw |exceptio|
|00004130| 6e 73 2c 20 65 78 63 65 | 70 74 69 6f 6e 73 20 77 |ns, exce|ptions w|
|00004140| 69 6c 6c 20 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ill ....|d..ONLN.|
|00004150| 64 02 b2 01 55 00 f3 01 | 61 01 a4 00 2a 0c 2d 6e |d...U...|a...*.-n|
|00004160| 6f 74 20 62 65 20 74 68 | 72 6f 77 6e 2e 20 48 6f |ot be th|rown. Ho|
|00004170| 77 65 76 65 72 2c 20 69 | 66 20 74 68 65 20 70 61 |wever, i|f the pa|
|00004180| 72 74 20 69 73 20 75 6e | 64 65 72 20 00 00 06 ff |rt is un|der ....|
|00004190| ff d6 20 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |.. ...d.|.ONLN.d.|
|000041a0| df 01 61 00 f3 01 6d 01 | d4 00 2a 0c 36 64 65 76 |..a...m.|..*.6dev|
|000041b0| 65 6c 6f 70 6d 65 6e 74 | 2c 20 72 65 6d 65 6d 62 |elopment|, rememb|
|000041c0| 65 72 20 74 68 61 74 20 | 74 68 65 20 6d 65 74 68 |er that |the meth|
|000041d0| 6f 64 73 20 6d 69 67 68 | 74 20 6c 61 74 65 72 20 |ods migh|t later |
|000041e0| 62 65 20 00 01 00 0a 01 | 79 00 cf 01 80 01 f8 00 |be .....|y.......|
|000041f0| 34 01 7a 00 cf 01 80 01 | f8 00 20 01 7d 00 cf 01 |4.z.....|.. .}...|
|00004200| 7d 01 f8 00 01 00 0a 00 | 00 00 00 03 18 02 64 00 |}.......|......d.|
|00004210| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004220| 64 03 15 01 6d 00 f3 01 | 79 01 68 00 2a 0c 1c 63 |d...m...|y.h.*..c|
|00004230| 68 61 6e 67 65 64 20 74 | 6f 20 74 68 72 6f 77 20 |hanged t|o throw |
|00004240| 65 78 63 65 70 74 69 6f | 6e 73 2e 00 06 ff ff 83 |exceptio|ns......|
|00004250| f2 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 33 01 |....d..O|NLN.d.3.|
|00004260| 89 00 cf 01 95 01 f7 00 | 28 01 92 00 cf 48 54 6f |........|(....HTo|
|00004270| 20 61 64 65 71 75 61 74 | 65 6c 79 20 63 61 74 63 | adequat|ely catc|
|00004280| 68 20 4f 50 46 20 65 78 | 63 65 70 74 69 6f 6e 73 |h OPF ex|ceptions|
|00004290| 2c 20 79 6f 75 20 6d 75 | 73 74 20 70 72 6f 76 69 |, you mu|st provi|
|000042a0| 64 65 20 65 78 63 65 70 | 74 69 6f 6e 20 68 61 6e |de excep|tion han|
|000042b0| 64 6c 65 72 73 20 00 00 | 06 00 00 00 00 00 a1 00 |dlers ..|........|
|000042c0| 64 00 10 4f 4e 4c 4e 00 | 64 03 7b 01 95 00 cf 01 |d..ONLN.|d.{.....|
|000042d0| a1 01 d9 00 2a 0c 44 74 | 68 61 74 20 68 61 6e 64 |....*.Dt|hat hand|
|000042e0| 6c 65 20 65 78 63 65 70 | 74 69 6f 6e 73 20 61 73 |le excep|tions as|
|000042f0| 20 63 6c 6f 73 65 20 74 | 6f 20 74 68 65 20 74 68 | close t|o the th|
|00004300| 72 6f 77 20 70 6f 69 6e | 74 20 61 73 20 70 6f 73 |row poin|t as pos|
|00004310| 73 69 62 6c 65 2e 20 54 | 68 65 20 00 a1 00 64 00 |sible. T|he ...d.|
|00004320| 10 4f 4e 4c 4e 00 64 03 | bf 01 a1 00 cf 01 ad 01 |.ONLN.d.|........|
|00004330| f5 00 2a 0c 4a 65 78 63 | 65 70 74 69 6f 6e 20 68 |..*.Jexc|eption h|
|00004340| 61 6e 64 6c 65 72 73 20 | 6d 75 73 74 20 72 65 6c |andlers |must rel|
|00004350| 65 61 73 65 20 61 6c 6c | 20 72 65 73 6f 75 72 63 |ease all| resourc|
|00004360| 65 73 20 74 68 61 74 20 | 68 61 76 65 20 62 65 65 |es that |have bee|
|00004370| 6e 20 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 00 |n succes|sfully .|
|00004380| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 09 01 ad 00 |..d..ONL|N.d.....|
|00004390| cf 01 b9 01 64 00 2a 0c | 25 6f 62 74 61 69 6e 65 |....d.*.|%obtaine|
|000043a0| 64 20 62 65 66 6f 72 65 | 20 74 68 65 20 65 78 63 |d before| the exc|
|000043b0| 65 70 74 69 6f 6e 20 6f | 63 63 75 72 73 2e 00 00 |eption o|ccurs...|
|000043c0| 06 ff ff b2 19 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000043d0| 64 04 2f 01 c3 00 cf 01 | cf 01 f7 00 2a 16 4a 54 |d./.....|....*.JT|
|000043e0| 68 65 72 65 20 61 72 65 | 20 74 77 6f 20 6d 61 69 |here are| two mai|
|000043f0| 6e 20 77 61 79 73 20 74 | 6f 20 63 61 74 63 68 20 |n ways t|o catch |
|00004400| 65 78 63 65 70 74 69 6f | 6e 73 20 61 74 20 74 68 |exceptio|ns at th|
|00004410| 65 20 64 65 65 70 65 73 | 74 20 70 6f 69 6e 74 2e |e deepes|t point.|
|00004420| 20 59 6f 75 20 63 61 6e | 20 00 06 00 00 00 00 00 | You can| .......|
|00004430| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 79 01 cf 00 |..d..ONL|N.d.y...|
|00004440| cf 01 db 01 37 00 2a 0c | 1b 64 6f 20 65 69 74 68 |....7.*.|.do eith|
|00004450| 65 72 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |er of th|e follow|
|00004460| 69 6e 67 3a 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ing:....|d..ONLN.|
|00004470| 64 04 95 01 e5 00 e1 01 | f1 00 e4 00 2b 12 16 01 |d.......|....+...|
|00004480| a5 00 15 4c cc 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |...L....|d..ONLN.|
|00004490| 64 04 97 01 e5 00 ec 01 | f1 01 c4 00 29 0b 35 55 |d.......|....).5U|
|000044a0| 73 65 20 74 72 79 20 62 | 6c 6f 63 6b 73 20 61 72 |se try b|locks ar|
|000044b0| 6f 75 6e 64 20 63 6f 64 | 65 20 74 68 61 74 20 63 |ound cod|e that c|
|000044c0| 61 6e 20 74 68 72 6f 77 | 20 65 78 63 65 70 74 69 |an throw| excepti|
|000044d0| 6f 6e 73 2e 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ons.....|d..ONLN.|
|000044e0| 64 04 cd 01 fb 00 e1 02 | 07 00 e4 00 28 02 04 00 |d.......|....(...|
|000044f0| e1 01 a5 00 15 4c cc 00 | a1 00 64 00 10 4f 4e 4c |.....L..|..d..ONL|
|00004500| 4e 00 64 04 cf 01 fb 00 | ec 02 07 01 89 00 29 0b |N.d.....|......).|
|00004510| 28 55 73 65 20 61 20 72 | 65 73 6f 75 72 63 65 20 |(Use a r|esource |
|00004520| 61 63 71 75 69 73 69 74 | 69 6f 6e 20 68 65 6c 70 |acquisit|ion help|
|00004530| 65 72 20 63 6c 61 73 73 | 2e 00 04 01 00 00 0d 00 |er class|........|
|00004540| 0c 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 f8 02 |....d..O|NLN.d...|
|00004550| 13 00 cf 02 1f 01 26 00 | 28 02 1c 00 cf 11 55 73 |......&.|(.....Us|
|00004560| 69 6e 67 20 61 20 74 72 | 79 20 62 6c 6f 63 6b 00 |ing a tr|y block.|
|00004570| 04 00 00 00 0d 00 0a 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00004580| 4e 00 64 05 0a 02 20 00 | cf 02 2c 01 d4 00 2a 0d |N.d... .|..,...*.|
|00004590| 41 59 6f 75 20 63 61 6e | 20 75 73 65 20 61 20 74 |AYou can| use a t|
|000045a0| 72 79 20 62 6c 6f 63 6b | 20 74 6f 20 65 6e 63 6c |ry block| to encl|
|000045b0| 6f 73 65 20 61 20 62 6c | 6f 63 6b 20 6f 66 20 63 |ose a bl|ock of c|
|000045c0| 6f 64 65 20 61 6e 64 20 | 63 61 74 63 68 20 61 6e |ode and |catch an|
|000045d0| 79 20 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |y ....d.|.ONLN.d.|
|000045e0| 4b 02 2c 00 cf 02 38 01 | e9 00 2a 0c 45 65 78 63 |K.,...8.|..*.Eexc|
|000045f0| 65 70 74 69 6f 6e 73 20 | 74 68 72 6f 77 6e 20 62 |eptions |thrown b|
|00004600| 79 20 74 68 61 74 20 63 | 6f 64 65 2e 20 57 68 65 |y that c|ode. Whe|
|00004610| 6e 20 79 6f 75 20 64 6f | 2c 20 6e 6f 74 65 20 74 |n you do|, note t|
|00004620| 68 61 74 20 74 68 65 20 | 65 78 63 65 70 74 69 6f |hat the |exceptio|
|00004630| 6e 20 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |n ....d.|.ONLN.d.|
|00004640| 90 02 38 00 cf 02 44 01 | cd 00 2a 0c 41 68 61 6e |..8...D.|..*.Ahan|
|00004650| 64 6c 65 72 73 20 69 6e | 20 74 68 61 74 20 62 6c |dlers in| that bl|
|00004660| 6f 63 6b 20 6d 75 73 74 | 20 72 65 6c 65 61 73 65 |ock must| release|
|00004670| 20 61 6c 6c 20 72 65 73 | 6f 75 72 63 65 73 20 74 | all res|ources t|
|00004680| 68 61 74 20 68 61 76 65 | 20 62 65 65 6e 20 00 00 |hat have| been ..|
|00004690| 06 ff ff be 62 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |....b...|d..ONLN.|
|000046a0| 64 05 d1 02 44 00 cf 02 | 50 01 f7 00 2a 0c 4a 73 |d...D...|P...*.Js|
|000046b0| 75 63 63 65 73 73 66 75 | 6c 6c 79 20 6f 62 74 61 |uccessfu|lly obta|
|000046c0| 69 6e 65 64 20 62 65 66 | 6f 72 65 20 74 68 65 20 |ined bef|ore the |
|000046d0| 65 78 63 65 70 74 69 6f | 6e 20 6f 63 63 75 72 73 |exceptio|n occurs|
|000046e0| 2e 20 54 68 65 20 65 78 | 63 65 70 74 69 6f 6e 20 |. The ex|ception |
|000046f0| 68 61 6e 64 6c 65 72 73 | 20 00 06 00 00 00 00 00 |handlers| .......|
|00004700| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 1b 02 50 00 |..d..ONL|N.d...P.|
|00004710| cf 02 5c 01 e4 00 2a 0c | 4a 73 68 6f 75 6c 64 20 |..\...*.|Jshould |
|00004720| 61 6c 73 6f 20 61 74 74 | 65 6d 70 74 20 74 6f 20 |also att|empt to |
|00004730| 72 65 73 74 6f 72 65 20 | 61 6c 6c 20 73 74 61 74 |restore |all stat|
|00004740| 65 20 74 72 61 6e 73 69 | 74 69 6f 6e 73 20 61 6e |e transi|tions an|
|00004750| 64 20 72 65 76 65 72 73 | 65 20 61 6c 6c 20 73 69 |d revers|e all si|
|00004760| 64 65 20 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 06 |de ...d.|.ONLN.d.|
|00004770| 65 02 5c 00 cf 02 68 00 | ec 00 2a 0c 08 65 66 66 |e.\...h.|..*..eff|
|00004780| 65 63 74 73 2e 00 06 ff | ff a4 75 00 a1 00 64 00 |ects....|..u...d.|
|00004790| 10 4f 4e 4c 4e 00 64 06 | 6e 02 72 00 cf 02 7e 01 |.ONLN.d.|n.r...~.|
|000047a0| f7 00 2a 16 4c 49 6e 20 | 6d 61 6e 79 20 63 61 73 |..*.LIn |many cas|
|000047b0| 65 73 2c 20 79 6f 75 20 | 77 69 6c 6c 20 6e 6f 74 |es, you |will not|
|000047c0| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 63 6f 6d 70 | be able| to comp|
|000047d0| 6c 65 74 65 6c 79 20 72 | 65 63 6f 76 65 72 20 66 |letely r|ecover f|
|000047e0| 72 6f 6d 20 61 6e 20 65 | 72 72 6f 72 2c 20 6f 72 |rom an e|rror, or|
|000047f0| 20 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00004800| 4e 00 64 06 ba 02 7e 00 | cf 02 8a 01 e2 00 2a 0c |N.d...~.|......*.|
|00004810| 47 61 74 20 6c 65 61 73 | 74 20 6f 6e 6c 79 20 62 |Gat leas|t only b|
|00004820| 65 20 61 62 6c 65 20 74 | 6f 20 63 6f 6d 70 6c 65 |e able t|o comple|
|00004830| 74 65 6c 79 20 72 65 63 | 6f 76 65 72 20 66 72 6f |tely rec|over fro|
|00004840| 6d 20 61 20 76 65 72 79 | 20 6c 69 6d 69 74 65 64 |m a very| limited|
|00004850| 20 73 65 74 20 6f 66 20 | 00 00 a1 00 64 00 10 4f | set of |....d..O|
|00004860| 4e 4c 4e 00 64 07 01 02 | 8a 00 cf 02 96 01 df 00 |NLN.d...|........|
|00004870| 2a 0c 46 65 72 72 6f 72 | 73 2e 20 49 6e 20 73 75 |*.Ferror|s. In su|
|00004880| 63 68 20 63 61 73 65 73 | 2c 20 69 66 20 79 6f 75 |ch cases|, if you|
|00004890| 20 63 61 6e d5 74 20 72 | 65 63 6f 76 65 72 20 63 | can.t r|ecover c|
|000048a0| 6f 6d 70 6c 65 74 65 6c | 79 2c 20 79 6f 75 20 6d |ompletel|y, you m|
|000048b0| 75 73 74 20 63 61 6c 6c | 20 00 ff 0a 44 00 00 00 |ust call| ...D...|
|000048c0| 00 03 18 02 64 00 11 02 | ff 0c 00 ff ff ff ff 00 |....d...|........|
|000048d0| 00 00 00 00 00 00 00 02 | 64 00 00 03 18 00 00 00 |........|d.......|
|000048e0| 00 00 00 00 01 00 0a 00 | 00 00 00 03 18 02 64 00 |........|......d.|
|000048f0| 0a 00 00 00 00 00 00 00 | 00 00 34 00 72 00 6c 00 |........|..4.r.l.|
|00004900| 7c 01 f8 00 2c 00 08 00 | 14 05 54 69 6d 65 73 00 ||...,...|..Times.|
|00004910| 03 00 14 00 04 02 00 00 | 0d 00 0c 00 2e 00 04 00 |........|........|
|00004920| 00 01 00 00 15 35 40 00 | 28 00 7a 01 49 21 43 61 |.....5@.|(.z.I!Ca|
|00004930| 74 63 68 69 6e 67 20 65 | 78 63 65 70 74 69 6f 6e |tching e|xception|
|00004940| 73 20 74 68 72 6f 77 6e | 20 62 79 20 4f 50 46 00 |s thrown| by OPF.|
|00004950| 34 02 b4 00 6c 02 be 02 | 0a 00 0d 00 0a 00 15 fd |4...l...|........|
|00004960| 60 00 28 02 bb 01 8f 14 | 4f 50 46 20 52 65 66 65 |`.(.....|OPF Refe|
|00004970| 72 65 6e 63 65 20 4d 61 | 6e 75 61 6c 00 00 29 76 |rence Ma|nual..)v|
|00004980| 01 33 00 00 0a ff ff ff | ff ff ff ff ff 00 74 00 |.3......|......t.|
|00004990| 1e 00 7a 02 01 00 83 02 | 0a 00 7e 02 0a 00 83 02 |..z.....|..~.....|
|000049a0| 06 00 7e 02 01 00 7a 02 | 06 00 7e 02 0a 00 70 00 |..~...z.|..~...p.|
|000049b0| 1e 00 7a 02 01 00 83 02 | 0a 00 7e 02 0a 00 83 02 |..z.....|..~.....|
|000049c0| 06 00 7e 02 01 00 7a 02 | 06 00 7e 02 0a 00 20 00 |..~...z.|..~... .|
|000049d0| 7e 00 6c 00 7e 01 f8 00 | 0a 00 00 00 00 00 00 00 |~.l.~...|........|
|000049e0| 00 00 34 00 91 00 e1 02 | 9b 02 0a 00 2c 00 0a 00 |..4.....|....,...|
|000049f0| 16 07 43 6f 75 72 69 65 | 72 00 03 00 16 00 04 00 |..Courie|r.......|
|00004a00| 00 00 2e 00 04 00 00 00 | 00 00 a1 00 64 00 10 4f |........|....d..O|
|00004a10| 4e 4c 4e 00 64 00 00 00 | 8f 00 e1 00 9b 00 ff 00 |NLN.d...|........|
|00004a20| 28 00 98 00 e1 05 74 68 | 72 6f 77 00 03 00 14 00 |(.....th|row.....|
|00004a30| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 05 00 8f 00 |..d..ONL|N.d.....|
|00004a40| ff 00 9b 01 31 00 29 1e | 0d 2e 20 42 79 20 63 61 |....1.).|.. By ca|
|00004a50| 6c 6c 69 6e 67 20 00 00 | 03 00 16 00 a1 00 64 00 |lling ..|......d.|
|00004a60| 10 4f 4e 4c 4e 00 64 00 | 12 00 8f 01 31 00 9b 01 |.ONLN.d.|....1...|
|00004a70| 4f 00 29 32 05 74 68 72 | 6f 77 00 00 03 00 14 00 |O.)2.thr|ow......|
|00004a80| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 17 00 8f 01 |..d..ONL|N.d.....|
|00004a90| 4f 00 9b 01 ff 00 29 1e | 2c 2c 20 79 6f 75 20 70 |O.....).|,, you p|
|00004aa0| 72 6f 70 61 67 61 74 65 | 20 74 68 65 20 65 78 63 |ropagate| the exc|
|00004ab0| 65 70 74 69 6f 6e 20 75 | 70 20 74 68 65 20 63 68 |eption u|p the ch|
|00004ac0| 61 69 6e 2c 20 00 2e 00 | 04 00 00 01 00 00 a1 00 |ain, ...|........|
|00004ad0| 64 00 10 4f 4e 4c 4e 00 | 64 00 43 00 9b 00 e1 00 |d..ONLN.|d.C.....|
|00004ae0| a7 01 e0 00 28 00 a4 00 | e1 3f 77 68 69 63 68 20 |....(...|.?which |
|00004af0| 61 6c 6c 6f 77 73 20 6f | 74 68 65 72 20 65 78 63 |allows o|ther exc|
|00004b00| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 73 20 |eption h|andlers |
|00004b10| 74 6f 20 70 65 72 66 6f | 72 6d 20 74 68 65 69 72 |to perfo|rm their|
|00004b20| 20 63 6c 65 61 6e 75 70 | 2e 00 04 01 00 00 0d 00 | cleanup|........|
|00004b30| 0c 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 83 00 |....d..O|NLN.d...|
|00004b40| b2 00 e1 00 be 01 94 00 | 2a 17 23 55 73 69 6e 67 |........|*.#Using|
|00004b50| 20 61 20 72 65 73 6f 75 | 72 63 65 20 61 63 71 75 | a resou|rce acqu|
|00004b60| 69 73 69 74 69 6f 6e 20 | 68 65 6c 70 65 72 00 00 |isition |helper..|
|00004b70| 04 00 00 00 0d 00 0a 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00004b80| 4e 00 64 00 a7 00 c0 00 | e1 00 cc 01 ef 00 2a 0e |N.d.....|......*.|
|00004b90| 43 52 65 73 6f 75 72 63 | 65 20 61 63 71 75 69 73 |CResourc|e acquis|
|00004ba0| 69 74 69 6f 6e 20 68 65 | 6c 70 65 72 20 63 6c 61 |ition he|lper cla|
|00004bb0| 73 73 65 73 20 63 61 6e | 20 68 65 6c 70 20 73 69 |sses can| help si|
|00004bc0| 6d 70 6c 69 66 79 20 79 | 6f 75 72 20 63 6f 64 65 |mplify y|our code|
|00004bd0| 20 62 79 20 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | by ....|d..ONLN.|
|00004be0| 64 00 ea 00 cc 00 e1 00 | d8 01 f1 00 2a 0c 44 72 |d.......|....*.Dr|
|00004bf0| 65 70 6c 61 63 69 6e 67 | 20 74 68 65 20 74 72 79 |eplacing| the try|
|00004c00| 20 62 6c 6f 63 6b 73 20 | 77 69 74 68 20 63 6f 64 | blocks |with cod|
|00004c10| 65 20 74 68 61 74 20 61 | 6c 6c 6f 77 73 20 43 2b |e that a|llows C+|
|00004c20| 2b 20 74 6f 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |+ to aut|omatical|
|00004c30| 6c 79 20 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |ly ...d.|.ONLN.d.|
|00004c40| 2e 00 d8 00 e1 00 e4 01 | 27 00 2a 0c 11 75 6e 77 |........|'.*..unw|
|00004c50| 69 6e 64 20 74 68 65 20 | 73 74 61 63 6b 2e 00 00 |ind the |stack...|
|00004c60| 01 00 0a 00 f0 00 e1 01 | 02 02 0a 00 34 00 f0 00 |........|....4...|
|00004c70| e1 01 01 02 0a 00 20 00 | f4 00 e1 00 f4 02 0a 00 |...... .|........|
|00004c80| 0d 00 09 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|00004c90| 40 00 f5 00 e1 01 00 00 | f2 00 2a 1c 04 4e 6f 74 |@.......|..*..Not|
|00004ca0| 65 00 01 00 0a 00 00 00 | 00 03 18 02 64 00 0d 00 |e.......|....d...|
|00004cb0| 0a 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 45 00 |....d..O|NLN.d.E.|
|00004cc0| ff 01 05 01 0b 01 e3 00 | 2b 24 0b 39 49 6e 20 74 |........|+$.9In t|
|00004cd0| 68 69 73 20 63 6f 6e 74 | 65 78 74 2c 20 72 65 73 |his cont|ext, res|
|00004ce0| 6f 75 72 63 65 20 61 63 | 71 75 69 73 69 74 69 6f |ource ac|quisitio|
|00004cf0| 6e 20 64 6f 65 73 20 6e | 6f 74 20 6d 65 61 6e 20 |n does n|ot mean |
|00004d00| 6a 75 73 74 20 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |just ...|d..ONLN.|
|00004d10| 64 01 7e 01 0b 01 05 01 | 17 01 d9 00 2a 0c 32 74 |d.~.....|....*.2t|
|00004d20| 68 65 20 72 65 73 6f 75 | 72 63 65 73 20 68 61 6e |he resou|rces han|
|00004d30| 64 6c 65 64 20 62 79 20 | 74 68 65 20 4d 61 63 69 |dled by |the Maci|
|00004d40| 6e 74 6f 73 68 20 6f 72 | 20 57 69 6e 64 6f 77 73 |ntosh or| Windows|
|00004d50| 20 00 06 ff ff 8c 29 00 | a1 00 64 00 10 4f 4e 4c | .....).|..d..ONL|
|00004d60| 4e 00 64 01 b0 01 17 01 | 05 01 23 01 96 00 2a 0c |N.d.....|..#...*.|
|00004d70| 23 52 65 73 6f 75 72 63 | 65 20 4d 61 6e 61 67 65 |#Resourc|e Manage|
|00004d80| 72 2e 20 52 61 74 68 65 | 72 2c 20 74 68 65 20 74 |r. Rathe|r, the t|
|00004d90| 65 72 6d 20 00 00 04 02 | 00 00 15 aa 0d 00 a1 00 |erm ....|........|
|00004da0| 64 00 10 4f 4e 4c 4e 00 | 64 01 d3 01 17 01 96 01 |d..ONLN.|d.......|
|00004db0| 23 01 bc 00 29 91 09 72 | 65 73 6f 75 72 63 65 73 |#...)..r|esources|
|00004dc0| 00 00 04 00 00 00 15 89 | 4d 00 a1 00 64 00 10 4f |........|M...d..O|
|00004dd0| 4e 4c 4e 00 64 01 dc 01 | 17 01 bd 01 23 01 e5 00 |NLN.d...|....#...|
|00004de0| 29 27 0c 20 69 73 20 75 | 73 65 64 20 74 6f 20 00 |)'. is u|sed to .|
|00004df0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004e00| 64 01 e8 01 23 01 05 01 | 2f 01 e0 00 28 01 2c 01 |d...#...|/...(.,.|
|00004e10| 05 37 6d 65 61 6e 20 61 | 6e 79 20 65 78 74 65 72 |.7mean a|ny exter|
|00004e20| 6e 61 6c 20 65 6c 65 6d | 65 6e 74 20 74 68 61 74 |nal elem|ent that|
|00004e30| 20 74 68 65 20 70 61 72 | 74 20 6e 65 65 64 73 2c | the par|t needs,|
|00004e40| 20 73 75 63 68 20 61 73 | 20 00 01 00 0a 01 3b 00 | such as| .....;.|
|00004e50| e1 01 42 02 0a 00 34 01 | 3b 00 e1 01 41 02 0a 00 |..B...4.|;...A...|
|00004e60| 20 01 3e 00 e1 01 3e 02 | 0a 00 01 00 0a 00 00 00 | .>...>.|........|
|00004e70| 00 03 18 02 64 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |....d...|d..ONLN.|
|00004e80| 64 02 1f 01 2f 01 05 01 | 3b 01 6a 00 2a 0c 19 6d |d.../...|;.j.*..m|
|00004e90| 65 6d 6f 72 79 2c 20 66 | 69 6c 65 73 2c 20 61 6e |emory, f|iles, an|
|00004ea0| 64 20 73 6f 20 6f 6e 2e | 00 00 a1 00 64 00 10 4f |d so on.|....d..O|
|00004eb0| 4e 4c 4e 00 64 02 3a 01 | 4b 00 e1 01 57 01 ee 00 |NLN.d.:.|K...W...|
|00004ec0| 28 01 54 00 e1 43 46 6f | 72 20 65 78 61 6d 70 6c |(.T..CFo|r exampl|
|00004ed0| 65 2c 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |e, the f|ollowing|
|00004ee0| 20 74 79 70 65 20 6f 66 | 20 63 6f 64 65 20 63 6f | type of| code co|
|00004ef0| 75 6c 64 20 62 65 20 75 | 73 65 64 20 74 6f 20 61 |uld be u|sed to a|
|00004f00| 63 71 75 69 72 65 20 61 | 20 00 a1 00 64 00 10 4f |cquire a| ...d..O|
|00004f10| 4e 4c 4e 00 64 02 7d 01 | 57 00 e1 01 63 01 05 00 |NLN.d.}.|W...c...|
|00004f20| 2a 0c 09 72 65 73 6f 75 | 72 63 65 3a 00 00 01 00 |*..resou|rce:....|
|00004f30| 0a 01 6f 00 e1 01 76 02 | 0a 00 34 01 6f 00 e1 01 |..o...v.|..4.o...|
|00004f40| 75 02 0a 00 20 01 72 00 | e1 01 72 02 0a 00 01 00 |u... .r.|..r.....|
|00004f50| 0a 00 00 00 00 03 18 02 | 64 00 03 00 16 00 2e 00 |........|d.......|
|00004f60| 04 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004f70| 64 02 88 01 73 00 e1 01 | 7f 01 89 00 2a 1c 1c 76 |d...s...|....*..v|
|00004f80| 6f 69 64 20 43 53 6f 6d | 65 43 6c 61 73 73 3a 3a |oid CSom|eClass::|
|00004f90| 53 6f 6d 65 4d 65 74 68 | 6f 64 20 00 a1 00 64 00 |SomeMeth|od ...d.|
|00004fa0| 10 4f 4e 4c 4e 00 64 02 | a7 01 7d 01 05 01 89 02 |.ONLN.d.|..}.....|
|00004fb0| 01 00 2b 24 0a 2a 28 52 | 65 73 6f 75 72 63 65 49 |..+$.*(R|esourceI|
|00004fc0| 64 65 6e 74 69 66 65 72 | 54 79 70 65 20 72 65 73 |dentifer|Type res|
|00004fd0| 6f 75 72 63 65 49 64 65 | 6e 74 69 66 69 65 72 29 |ourceIde|ntifier)|
|00004fe0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 d2 01 |....d..O|NLN.d...|
|00004ff0| 87 00 e1 01 93 00 e7 00 | 28 01 90 00 e1 01 7b 00 |........|(.....{.|
|00005000| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 d5 01 91 00 |..d..ONL|N.d.....|
|00005010| f3 01 9d 01 83 00 2b 12 | 0a 18 52 65 73 6f 75 72 |......+.|..Resour|
|00005020| 63 65 54 79 70 65 20 72 | 65 73 6f 75 72 63 65 20 |ceType r|esource |
|00005030| 3d 20 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |= ....d.|.ONLN.d.|
|00005040| ed 01 9b 00 e1 01 a7 01 | d7 00 28 01 a4 00 e1 29 |........|..(....)|
|00005050| 43 41 63 71 75 69 72 65 | 53 6f 6d 65 52 65 73 6f |CAcquire|SomeReso|
|00005060| 75 72 63 65 28 72 65 73 | 6f 75 72 63 65 49 64 65 |urce(res|ourceIde|
|00005070| 6e 74 69 66 69 65 72 29 | 3b 00 a1 00 64 00 10 4f |ntifier)|;...d..O|
|00005080| 4e 4c 4e 00 64 03 18 01 | af 00 f3 01 bb 01 05 00 |NLN.d...|........|
|00005090| 2b 12 14 03 74 72 79 00 | a1 00 64 00 10 4f 4e 4c |+...try.|..d..ONL|
|000050a0| 4e 00 64 03 1d 01 b9 00 | f3 01 c5 00 f9 00 2a 0a |N.d.....|......*.|
|000050b0| 01 7b 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |.{....d.|.ONLN.d.|
|000050c0| 21 01 c3 01 05 01 cf 01 | b3 00 2b 12 0a 1d 44 6f |!.......|..+...Do|
|000050d0| 57 6f 72 6b 57 69 74 68 | 52 65 73 6f 75 72 63 65 |WorkWith|Resource|
|000050e0| 28 72 65 73 6f 75 72 63 | 65 29 3b 00 a1 00 64 00 |(resourc|e);...d.|
|000050f0| 10 4f 4e 4c 4e 00 64 03 | 3f 01 c3 01 b3 01 cf 01 |.ONLN.d.|?.......|
|00005100| fb 00 29 ae 0c 2f 2f 20 | 6d 61 79 20 74 68 72 6f |..)..// |may thro|
|00005110| 77 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 4d 01 |w...d..O|NLN.d.M.|
|00005120| cd 00 f3 01 d9 00 f9 00 | 28 01 d6 00 f3 01 7d 00 |........|(.....}.|
|00005130| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 50 01 d7 00 |..d..ONL|N.d.P...|
|00005140| f3 01 e3 01 11 00 2a 0a | 05 63 61 74 63 68 00 00 |......*.|.catch..|
|00005150| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 57 01 e1 00 |..d..ONL|N.d.W...|
|00005160| f3 01 ed 00 f9 00 2a 0a | 01 7b 00 00 a1 00 64 00 |......*.|.{....d.|
|00005170| 10 4f 4e 4c 4e 00 64 03 | 5b 01 eb 01 05 01 f7 01 |.ONLN.d.|[.......|
|00005180| a1 00 2b 12 0a 1a 52 65 | 6c 65 61 73 65 52 65 73 |..+...Re|leaseRes|
|00005190| 6f 75 72 63 65 28 72 65 | 73 6f 75 72 63 65 29 3b |ource(re|source);|
|000051a0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 78 01 |....d..O|NLN.d.x.|
|000051b0| f5 01 05 02 01 01 35 00 | 2a 0a 08 74 68 72 6f 77 |......5.|*..throw|
|000051c0| 28 29 3b 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |();...d.|.ONLN.d.|
|000051d0| 82 01 ff 00 f3 02 0b 00 | f9 00 28 02 08 00 f3 01 |........|..(.....|
|000051e0| 7d 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 87 02 |}...d..O|NLN.d...|
|000051f0| 13 00 f3 02 1f 01 8f 00 | 2a 14 1a 52 65 6c 65 61 |........|*..Relea|
|00005200| 73 65 52 65 73 6f 75 72 | 63 65 28 72 65 73 6f 75 |seResour|ce(resou|
|00005210| 72 63 65 29 3b 00 01 00 | 0a 02 29 00 e1 02 30 02 |rce);...|..)...0.|
|00005220| 0a 00 34 02 29 00 e1 02 | 2f 02 0a 00 20 02 2c 00 |..4.)...|/... .,.|
|00005230| e1 02 2c 02 0a 00 01 00 | 0a 00 00 00 00 03 18 02 |..,.....|........|
|00005240| 64 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 a2 02 |d...d..O|NLN.d...|
|00005250| 1d 00 e1 02 29 00 e7 00 | 28 02 26 00 e1 01 7d 00 |....)...|(.&...}.|
|00005260| 03 00 14 00 2e 00 04 00 | 00 01 00 00 a1 00 64 00 |........|......d.|
|00005270| 10 4f 4e 4c 4e 00 64 03 | a5 02 39 00 e1 02 45 02 |.ONLN.d.|..9...E.|
|00005280| 07 00 2a 1c 49 48 6f 77 | 65 76 65 72 2c 20 62 79 |..*.IHow|ever, by|
|00005290| 20 75 73 69 6e 67 20 61 | 20 72 65 73 6f 75 72 63 | using a| resourc|
|000052a0| 65 20 61 63 71 75 69 73 | 69 74 69 6f 6e 20 68 65 |e acquis|ition he|
|000052b0| 6c 70 65 72 20 6f 62 6a | 65 63 74 2c 20 79 6f 75 |lper obj|ect, you|
|000052c0| 20 63 61 6e 20 73 69 6d | 70 6c 69 66 79 20 00 00 | can sim|plify ..|
|000052d0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 ee 02 45 00 |..d..ONL|N.d...E.|
|000052e0| e1 02 51 01 30 00 2a 0c | 14 74 68 65 20 63 6f 64 |..Q.0.*.|.the cod|
|000052f0| 65 20 61 73 20 66 6f 6c | 6c 6f 77 73 3a 00 ff 0c |e as fol|lows:...|
|00005300| 36 00 00 00 00 03 18 02 | 64 00 11 02 ff 0c 00 ff |6.......|d.......|
|00005310| ff ff ff 00 00 00 00 00 | 00 00 00 02 64 00 00 03 |........|....d...|
|00005320| 18 00 00 00 00 00 00 00 | 01 00 0a 00 00 00 00 03 |........|........|
|00005330| 18 02 64 00 0a 00 00 00 | 00 00 00 00 00 00 34 00 |..d.....|......4.|
|00005340| 6f 00 6c 00 79 01 f8 00 | 2c 00 08 00 14 05 54 69 |o.l.y...|,.....Ti|
|00005350| 6d 65 73 00 03 00 14 00 | 04 03 00 00 0d 00 0e 00 |mes.....|........|
|00005360| 2e 00 04 00 00 01 00 00 | 2b 6c 78 01 31 00 29 1b |........|+lx.1.).|
|00005370| 14 45 78 63 65 70 74 69 | 6f 6e 73 20 43 6f 6d 70 |.Excepti|ons Comp|
|00005380| 6f 6e 65 6e 74 00 20 00 | 7e 00 6c 00 7e 01 f8 00 |onent. .|~.l.~...|
|00005390| 34 02 b3 00 5a 02 bd 01 | f8 00 04 02 00 00 0d 00 |4...Z...|........|
|000053a0| 0a 00 28 02 b9 00 5a 01 | 34 00 29 1b 14 4f 50 46 |..(...Z.|4.)..OPF|
|000053b0| 20 52 65 66 65 72 65 6e | 63 65 20 4d 61 6e 75 61 | Referen|ce Manua|
|000053c0| 6c 00 0a ff ff ff ff ff | ff ff ff 00 74 00 1e 00 |l.......|....t...|
|000053d0| 7a 00 5a 00 83 00 63 00 | 7e 00 63 00 83 00 5f 00 |z.Z...c.|~.c..._.|
|000053e0| 7e 00 5a 00 7a 00 5f 00 | 7e 00 63 00 70 00 1e 00 |~.Z.z._.|~.c.p...|
|000053f0| 7a 00 5a 00 83 00 63 00 | 7e 00 63 00 83 00 5f 00 |z.Z...c.|~.c..._.|
|00005400| 7e 00 5a 00 7a 00 5f 00 | 7e 00 63 00 0a 00 00 00 |~.Z.z._.|~.c.....|
|00005410| 00 00 00 00 00 00 34 00 | 90 00 cf 02 9a 01 f8 00 |......4.|........|
|00005420| 2c 00 0a 00 16 07 43 6f | 75 72 69 65 72 00 03 00 |,.....Co|urier...|
|00005430| 16 00 04 00 00 00 2e 00 | 04 00 00 00 00 00 a1 00 |........|........|
|00005440| 64 00 10 4f 4e 4c 4e 00 | 64 00 00 00 8d 00 cf 00 |d..ONLN.|d.......|
|00005450| 99 01 7d 00 28 00 96 00 | cf 1d 63 6c 61 73 73 20 |..}.(...|..class |
|00005460| 43 41 63 71 75 69 72 65 | 53 6f 6d 65 52 65 73 6f |CAcquire|SomeReso|
|00005470| 75 72 63 65 20 3a 20 00 | a1 00 64 00 10 4f 4e 4c |urce : .|..d..ONL|
|00005480| 4e 00 64 00 22 00 97 01 | 17 00 a3 01 3b 00 2b 48 |N.d."...|....;.+H|
|00005490| 0a 06 70 75 62 6c 69 63 | 00 00 a1 00 64 00 10 4f |..public|....d..O|
|000054a0| 4e 4c 4e 00 64 00 2a 00 | 97 01 3b 00 a3 01 cb 00 |NLN.d.*.|..;.....|
|000054b0| 29 24 18 20 46 57 5f 5f | 43 41 75 74 6f 44 65 73 |)$. FW__|CAutoDes|
|000054c0| 74 72 75 63 74 4f 62 6a | 65 63 74 00 a1 00 64 00 |tructObj|ect...d.|
|000054d0| 10 4f 4e 4c 4e 00 64 00 | 43 00 a1 00 cf 00 ad 00 |.ONLN.d.|C.......|
|000054e0| d5 00 28 00 aa 00 cf 01 | 7b 00 a1 00 64 00 10 4f |..(.....|{...d..O|
|000054f0| 4e 4c 4e 00 64 00 45 00 | ab 00 cf 00 b7 00 f9 00 |NLN.d.E.|........|
|00005500| 2a 0a 07 70 75 62 6c 69 | 63 3a 00 00 a1 00 64 00 |*..publi|c:....d.|
|00005510| 10 4f 4e 4c 4e 00 64 00 | 4d 00 b5 00 cf 00 c1 01 |.ONLN.d.|M.......|
|00005520| d7 00 2a 0a 2c 43 41 63 | 71 75 69 72 65 53 6f 6d |..*.,CAc|quireSom|
|00005530| 65 52 65 73 6f 75 72 63 | 65 20 28 52 65 73 6f 75 |eResourc|e (Resou|
|00005540| 72 63 65 49 64 65 6e 74 | 69 66 69 65 72 54 79 70 |rceIdent|ifierTyp|
|00005550| 65 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 83 00 |e...d..O|NLN.d...|
|00005560| bf 01 71 00 cb 01 ef 00 | 2b a2 0a 15 20 72 65 73 |..q.....|+... res|
|00005570| 6f 75 72 63 65 49 64 65 | 6e 74 69 66 69 65 72 29 |ourceIde|ntifier)|
|00005580| 3b 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 9a 00 |;...d..O|NLN.d...|
|00005590| c9 00 e1 00 d5 01 b3 00 | 28 00 d2 00 e1 23 76 69 |........|(....#vi|
|000055a0| 72 74 75 61 6c 20 7e 46 | 57 5f 43 41 63 71 75 69 |rtual ~F|W_CAcqui|
|000055b0| 72 65 53 6f 6d 65 52 65 | 73 6f 75 72 63 65 28 29 |reSomeRe|source()|
|000055c0| 3b 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 bf 00 |;...d..O|NLN.d...|
|000055d0| d3 00 e1 00 df 01 9b 00 | 2a 0a 1f 52 65 73 6f 75 |........|*..Resou|
|000055e0| 72 63 65 54 79 70 65 20 | 47 65 74 52 65 73 6f 75 |rceType |GetResou|
|000055f0| 72 63 65 28 76 6f 69 64 | 29 3b 00 00 a1 00 64 00 |rce(void|);....d.|
|00005600| 10 4f 4e 4c 4e 00 64 00 | df 00 dd 00 cf 00 e9 00 |.ONLN.d.|........|
|00005610| ff 00 28 00 e6 00 cf 08 | 70 72 69 76 61 74 65 3a |..(.....|private:|
|00005620| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 e9 00 |....d..O|NLN.d...|
|00005630| e7 00 e1 00 f3 01 6b 00 | 2b 12 0a 17 52 65 73 6f |......k.|+...Reso|
|00005640| 75 72 63 65 54 79 70 65 | 20 66 52 65 73 6f 75 72 |urceType| fResour|
|00005650| 63 65 3b 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |ce;...d.|.ONLN.d.|
|00005660| 01 00 f1 00 cf 00 fd 00 | d5 00 28 00 fa 00 cf 01 |........|..(.....|
|00005670| 7d 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 03 01 |}...d..O|NLN.d...|
|00005680| 05 00 cf 01 11 01 cb 00 | 2a 14 2a 43 41 63 71 75 |........|*.*CAcqu|
|00005690| 69 72 65 53 6f 6d 65 52 | 65 73 6f 75 72 63 65 3a |ireSomeR|esource:|
|000056a0| 3a 43 41 63 71 75 69 72 | 65 53 6f 6d 65 52 65 73 |:CAcquir|eSomeRes|
|000056b0| 6f 75 72 63 65 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ource...|d..ONLN.|
|000056c0| 64 01 30 01 0f 00 f3 01 | 1b 01 f5 00 2b 24 0a 2b |d.0.....|....+$.+|
|000056d0| 28 52 65 73 6f 75 72 63 | 65 49 64 65 6e 74 69 66 |(Resourc|eIdentif|
|000056e0| 69 65 72 54 79 70 65 20 | 72 65 73 6f 75 72 63 65 |ierType |resource|
|000056f0| 49 64 65 6e 74 69 66 69 | 65 72 29 00 a1 00 64 00 |Identifi|er)...d.|
|00005700| 10 4f 4e 4c 4e 00 64 01 | 61 01 19 01 29 01 25 01 |.ONLN.d.|a...).%.|
|00005710| 3b 00 2b 36 0a 03 20 3a | 20 00 a1 00 64 00 10 4f |;.+6.. :| ...d..O|
|00005720| 4e 4c 4e 00 64 01 64 01 | 23 00 cf 01 2f 01 9b 00 |NLN.d.d.|#.../...|
|00005730| 28 01 2c 00 cf 22 66 52 | 65 73 6f 75 72 63 65 28 |(.,.."fR|esource(|
|00005740| 46 57 5f 43 41 63 71 75 | 69 72 65 53 6f 6d 65 52 |FW_CAcqu|ireSomeR|
|00005750| 65 73 6f 75 72 63 65 28 | 00 00 a1 00 64 00 10 4f |esource(|....d..O|
|00005760| 4e 4c 4e 00 64 01 8f 01 | 2d 01 5f 01 39 01 d7 00 |NLN.d...|-._.9...|
|00005770| 2b 90 0a 14 72 65 73 6f | 75 72 63 65 49 64 65 6e |+...reso|urceIden|
|00005780| 74 69 66 69 65 72 29 29 | 00 00 a1 00 64 00 10 4f |tifier))|....d..O|
|00005790| 4e 4c 4e 00 64 01 a4 01 | 41 00 cf 01 4d 01 dd 00 |NLN.d...|A...M...|
|000057a0| 28 01 4a 00 cf 2d 43 41 | 63 71 75 69 72 65 53 6f |(.J..-CA|cquireSo|
|000057b0| 6d 65 52 65 73 6f 75 72 | 63 65 3a 3a 7e 43 41 63 |meResour|ce::~CAc|
|000057c0| 71 75 69 72 65 53 6f 6d | 65 52 65 73 6f 75 72 63 |quireSom|eResourc|
|000057d0| 65 28 29 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |e()...d.|.ONLN.d.|
|000057e0| d2 01 4b 00 cf 01 57 00 | d5 00 2a 0a 01 7b 00 00 |..K...W.|..*..{..|
|000057f0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 d5 01 55 00 |..d..ONL|N.d...U.|
|00005800| e1 01 61 01 83 00 2b 12 | 0a 1b 52 65 6c 65 61 73 |..a...+.|..Releas|
|00005810| 65 52 65 73 6f 75 72 63 | 65 28 66 52 65 73 6f 75 |eResourc|e(fResou|
|00005820| 72 63 65 29 3b 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |rce);...|d..ONLN.|
|00005830| 64 01 f1 01 5f 00 cf 01 | 6b 00 d5 00 28 01 68 00 |d..._...|k...(.h.|
|00005840| cf 01 7d 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |..}...d.|.ONLN.d.|
|00005850| f3 01 73 00 cf 01 7f 01 | 17 00 2a 14 0c 63 68 61 |..s.....|..*..cha|
|00005860| 72 20 2a 63 6f 6e 73 74 | 20 00 a1 00 64 00 10 4f |r *const| ...d..O|
|00005870| 4e 4c 4e 00 64 01 ff 01 | 7d 00 cf 01 89 01 b9 00 |NLN.d...|}.......|
|00005880| 2a 0a 27 43 41 63 71 75 | 69 72 65 53 6f 6d 65 52 |*.'CAcqu|ireSomeR|
|00005890| 65 73 6f 75 72 63 65 3a | 3a 47 65 74 52 65 73 6f |esource:|:GetReso|
|000058a0| 75 72 63 65 28 76 6f 69 | 64 29 00 00 a1 00 64 00 |urce(voi|d)....d.|
|000058b0| 10 4f 4e 4c 4e 00 64 02 | 27 01 87 00 cf 01 93 00 |.ONLN.d.|'.......|
|000058c0| d5 00 2a 0a 01 7b 00 00 | a1 00 64 00 10 4f 4e 4c |..*..{..|..d..ONL|
|000058d0| 4e 00 64 02 2a 01 91 00 | e1 01 9d 01 47 00 2b 12 |N.d.*...|....G.+.|
|000058e0| 0a 11 72 65 74 75 72 6e | 20 66 52 65 73 6f 75 72 |..return| fResour|
|000058f0| 63 65 3b 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |ce;...d.|.ONLN.d.|
|00005900| 3c 01 9b 00 cf 01 a7 00 | d5 00 28 01 a4 00 cf 01 |<.......|..(.....|
|00005910| 7d 00 01 00 0a 01 b1 00 | cf 01 c3 01 f8 00 34 01 |}.......|......4.|
|00005920| b2 00 cf 01 c3 01 f8 00 | 20 01 b6 00 cf 01 b6 01 |........| .......|
|00005930| f8 00 03 00 14 00 0d 00 | 09 00 2e 00 04 00 00 01 |........|........|
|00005940| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 3e 01 |....d..O|NLN.d.>.|
|00005950| b7 00 cf 01 c2 00 e0 00 | 2a 1b 04 4e 6f 74 65 00 |........|*..Note.|
|00005960| 01 00 0a 00 00 00 00 03 | 18 02 64 00 0d 00 0a 00 |........|..d.....|
|00005970| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 43 01 c0 00 |..d..ONL|N.d.C...|
|00005980| f3 01 cc 01 b0 00 2b 24 | 0a 2e 49 66 20 79 6f 75 |......+$|..If you|
|00005990| 20 61 72 65 20 75 73 69 | 6e 67 20 74 68 65 20 45 | are usi|ng the E|
|000059a0| 78 63 65 70 74 69 6f 6e | 20 43 6f 6d 70 6f 6e 65 |xception| Compone|
|000059b0| 6e 74 2c 20 74 68 65 20 | 00 00 2e 00 04 00 00 00 |nt, the |........|
|000059c0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 71 01 |....d..O|NLN.d.q.|
|000059d0| cc 00 f3 01 d8 01 65 00 | 2a 0c 1c 70 72 65 63 65 |......e.|*..prece|
|000059e0| 64 69 6e 67 20 63 6f 64 | 65 20 6d 75 73 74 20 75 |ding cod|e must u|
|000059f0| 73 65 20 74 68 65 20 00 | 03 00 16 00 a1 00 64 00 |se the .|......d.|
|00005a00| 10 4f 4e 4c 4e 00 64 02 | 8d 01 cc 01 65 01 d8 01 |.ONLN.d.|....e...|
|00005a10| b9 00 29 72 0e 45 4e 44 | 43 4f 4e 53 54 52 55 43 |..)r.END|CONSTRUC|
|00005a20| 54 4f 52 00 03 00 14 00 | a1 00 64 00 10 4f 4e 4c |TOR.....|..d..ONL|
|00005a30| 4e 00 64 02 9b 01 cc 01 | b9 01 d8 01 cc 00 29 54 |N.d.....|......)T|
|00005a40| 05 20 61 6e 64 20 00 00 | 03 00 16 00 06 ff ff aa |. and ..|........|
|00005a50| aa 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 a0 01 |....d..O|NLN.d...|
|00005a60| d8 00 f3 01 e4 01 4d 00 | 28 01 e1 00 f3 0f 53 54 |......M.|(.....ST|
|00005a70| 41 52 54 44 45 53 54 52 | 55 43 54 4f 52 00 03 00 |ARTDESTR|UCTOR...|
|00005a80| 14 00 06 ff ff d5 55 00 | a1 00 64 00 10 4f 4e 4c |......U.|..d..ONL|
|00005a90| 4e 00 64 02 af 01 d8 01 | 4d 01 e4 01 d3 00 29 5a |N.d.....|M.....)Z|
|00005aa0| 1f 20 6d 61 63 72 6f 73 | 20 66 72 6f 6d 20 74 68 |. macros| from th|
|00005ab0| 65 20 4f 50 46 20 45 78 | 63 65 70 74 69 6f 6e 20 |e OPF Ex|ception |
|00005ac0| 00 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00005ad0| 4e 00 64 02 ce 01 e4 00 | f3 01 f0 01 3e 00 28 01 |N.d.....|....>.(.|
|00005ae0| ed 00 f3 13 4c 69 62 72 | 61 72 79 2e 20 41 6c 73 |....Libr|ary. Als|
|00005af0| 6f 2c 20 74 68 65 20 00 | 03 00 16 00 a1 00 64 00 |o, the .|......d.|
|00005b00| 10 4f 4e 4c 4e 00 64 02 | e1 01 e4 01 3e 01 f0 01 |.ONLN.d.|....>...|
|00005b10| b6 00 29 4b 14 43 41 63 | 71 75 69 72 65 53 6f 6d |..)K.CAc|quireSom|
|00005b20| 65 52 65 73 6f 75 72 63 | 65 00 03 00 14 00 a1 00 |eResourc|e.......|
|00005b30| 64 00 10 4f 4e 4c 4e 00 | 64 02 f5 01 e4 01 b6 01 |d..ONLN.|d.......|
|00005b40| f0 01 cf 00 29 78 07 20 | 63 6c 61 73 73 20 00 00 |....)x. |class ..|
|00005b50| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 fc 01 f0 00 |..d..ONL|N.d.....|
|00005b60| f3 01 fc 01 40 00 28 01 | f9 00 f3 12 6d 75 73 74 |....@.(.|....must|
|00005b70| 20 64 65 73 63 65 6e 64 | 20 66 72 6f 6d 20 00 00 | descend| from ..|
|00005b80| 03 00 16 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00005b90| 0e 01 f0 01 40 01 fc 01 | ca 00 29 4d 17 5f 46 57 |....@...|..)M._FW|
|00005ba0| 5f 43 41 75 74 6f 44 65 | 73 74 72 75 63 74 4f 62 |_CAutoDe|structOb|
|00005bb0| 6a 65 63 74 00 00 03 00 | 14 00 a1 00 64 00 10 4f |ject....|....d..O|
|00005bc0| 4e 4c 4e 00 64 03 25 01 | f0 01 ca 01 fc 01 d0 00 |NLN.d.%.|........|
|00005bd0| 29 8a 02 2e 20 00 06 ff | ff cd d8 00 2e 00 04 00 |)... ...|........|
|00005be0| 00 01 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00005bf0| 27 01 fc 00 f3 02 08 01 | 03 00 28 02 05 00 f3 04 |'.......|..(.....|
|00005c00| 53 65 65 20 00 00 15 3d | 78 00 a1 00 64 00 10 4f |See ...=|x...d..O|
|00005c10| 4e 4c 4e 00 64 03 2b 01 | fc 01 04 02 08 01 c3 00 |NLN.d.+.|........|
|00005c20| 29 11 2c 41 70 70 65 6e | 64 69 78 20 41 2c 20 d2 |).,Appen|dix A, .|
|00005c30| 54 68 65 20 42 65 64 72 | 6f 63 6b 20 45 78 63 65 |The Bedr|ock Exce|
|00005c40| 70 74 69 6f 6e 20 4c 69 | 62 72 61 72 79 2c d3 00 |ption Li|brary,..|
|00005c50| 15 3c 90 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |.<....d.|.ONLN.d.|
|00005c60| 57 01 fc 01 c4 02 08 01 | d4 00 29 c0 05 20 66 6f |W.......|..).. fo|
|00005c70| 72 20 00 00 01 00 0a 02 | 14 00 cf 02 1b 01 f8 00 |r ......|........|
|00005c80| 34 02 15 00 cf 02 1b 01 | f8 00 20 02 18 00 cf 02 |4.......|.. .....|
|00005c90| 18 01 f8 00 01 00 0a 00 | 00 00 00 03 18 02 64 00 |........|......d.|
|00005ca0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005cb0| 64 03 5c 02 08 00 f3 02 | 14 01 3b 00 28 02 11 00 |d.\.....|..;.(...|
|00005cc0| f3 11 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |..more i|nformati|
|00005cd0| 6f 6e 2e 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |on....d.|.ONLN.d.|
|00005ce0| 6f 02 24 00 cf 02 30 01 | cb 00 28 02 2d 00 cf 3e |o.$...0.|..(.-..>|
|00005cf0| 4e 6f 77 20 79 6f 75 20 | 63 61 6e 20 77 72 69 74 |Now you |can writ|
|00005d00| 65 20 74 68 65 20 63 6f | 64 65 20 74 68 61 74 20 |e the co|de that |
|00005d10| 6e 65 65 64 73 20 74 68 | 65 20 72 65 73 6f 75 72 |needs th|e resour|
|00005d20| 63 65 20 61 73 20 66 6f | 6c 6c 6f 77 73 3a 00 00 |ce as fo|llows:..|
|00005d30| 03 00 16 00 2e 00 04 00 | 00 00 00 00 a1 00 64 00 |........|......d.|
|00005d40| 10 4f 4e 4c 4e 00 64 03 | ae 02 3a 00 cf 02 46 01 |.ONLN.d.|..:...F.|
|00005d50| 71 00 2a 16 1b 76 6f 69 | 64 20 43 53 6f 6d 65 43 |q.*..voi|d CSomeC|
|00005d60| 6c 61 73 73 3a 3a 53 6f | 6d 65 4d 65 74 68 6f 64 |lass::So|meMethod|
|00005d70| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 cc 02 |....d..O|NLN.d...|
|00005d80| 44 00 f3 02 50 01 f5 00 | 2b 24 0a 2b 20 28 52 65 |D...P...|+$.+ (Re|
|00005d90| 73 6f 75 72 63 65 49 64 | 65 6e 74 69 66 65 72 54 |sourceId|entiferT|
|00005da0| 79 70 65 20 72 65 73 6f | 75 72 63 65 49 64 65 6e |ype reso|urceIden|
|00005db0| 74 69 66 69 65 72 29 00 | a1 00 64 00 10 4f 4e 4c |tifier).|..d..ONL|
|00005dc0| 4e 00 64 03 f8 02 4e 00 | cf 02 5a 00 d5 00 28 02 |N.d...N.|..Z...(.|
|00005dd0| 57 00 cf 01 7b 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |W...{...|d..ONLN.|
|00005de0| 64 03 fb 02 58 00 e1 02 | 64 01 89 00 2b 12 0a 1c |d...X...|d...+...|
|00005df0| 43 41 63 71 75 69 72 65 | 53 6f 6d 65 52 65 73 6f |CAcquire|SomeReso|
|00005e00| 75 72 63 65 20 61 48 65 | 6c 70 65 72 00 00 a1 00 |urce aHe|lper....|
|00005e10| 64 00 10 4f 4e 4c 4e 00 | 64 04 21 02 62 01 71 02 |d..ONLN.|d.!.b.q.|
|00005e20| 6e 01 f5 00 2b 90 0a 16 | 20 28 72 65 73 6f 75 72 |n...+...| (resour|
|00005e30| 63 65 49 64 65 6e 74 69 | 66 69 65 72 29 3b 00 00 |ceIdenti|fier);..|
|00005e40| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 39 02 6c 00 |..d..ONL|N.d.9.l.|
|00005e50| e1 02 78 01 f5 00 28 02 | 75 00 e1 2e 52 65 73 6f |..x...(.|u...Reso|
|00005e60| 75 72 63 65 54 79 70 65 | 20 72 65 73 6f 75 72 63 |urceType| resourc|
|00005e70| 65 20 3d 20 61 48 65 6c | 70 65 72 2e 47 65 74 52 |e = aHel|per.GetR|
|00005e80| 65 73 6f 75 72 63 65 28 | 29 3b 00 00 a1 00 64 00 |esource(|);....d.|
|00005e90| 10 4f 4e 4c 4e 00 64 04 | 69 02 76 00 e1 02 82 01 |.ONLN.d.|i.v.....|
|00005ea0| 8f 00 2a 0a 1d 44 6f 57 | 6f 72 6b 57 69 74 68 52 |..*..DoW|orkWithR|
|00005eb0| 65 73 6f 75 72 63 65 28 | 72 65 73 6f 75 72 63 65 |esource(|resource|
|00005ec0| 29 3b 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 04 |);....d.|.ONLN.d.|
|00005ed0| 87 02 76 01 8f 02 82 01 | d7 00 29 ae 0c 2f 2f 20 |..v.....|..)..// |
|00005ee0| 6d 61 79 20 74 68 72 6f | 77 00 01 00 0a 02 8c 00 |may thro|w.......|
|00005ef0| cf 02 93 01 f8 00 34 02 | 8d 00 cf 02 93 01 f8 00 |......4.|........|
|00005f00| 20 02 90 00 cf 02 90 01 | f8 00 01 00 0a 00 00 00 | .......|........|
|00005f10| 00 03 18 02 64 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |....d...|d..ONLN.|
|00005f20| 64 04 94 02 80 00 cf 02 | 8c 00 d5 00 28 02 89 00 |d.......|....(...|
|00005f30| cf 01 7d 00 ff 0d 58 00 | 00 00 00 03 18 02 64 00 |..}...X.|......d.|
|00005f40| 11 02 ff 0c 00 ff ff ff | ff 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 02 64 00 00 03 18 00 | 00 00 00 00 00 00 01 00 |..d.....|........|
|00005f60| 0a 00 00 00 00 03 18 02 | 64 00 0a 00 00 00 00 00 |........|d.......|
|00005f70| 00 00 00 00 34 00 72 00 | 6c 00 7c 01 f8 00 2c 00 |....4.r.|l.|...,.|
|00005f80| 08 00 14 05 54 69 6d 65 | 73 00 03 00 14 00 04 02 |....Time|s.......|
|00005f90| 00 00 0d 00 0c 00 2e 00 | 04 00 00 01 00 00 15 35 |........|.......5|
|00005fa0| 40 00 28 00 7a 01 49 21 | 43 61 74 63 68 69 6e 67 |@.(.z.I!|Catching|
|00005fb0| 20 65 78 63 65 70 74 69 | 6f 6e 73 20 74 68 72 6f | excepti|ons thro|
|00005fc0| 77 6e 20 62 79 20 4f 50 | 46 00 34 02 b4 00 6c 02 |wn by OP|F.4...l.|
|00005fd0| be 02 0a 00 0d 00 0a 00 | 15 fd 60 00 28 02 bb 01 |........|..`.(...|
|00005fe0| 8f 14 4f 50 46 20 52 65 | 66 65 72 65 6e 63 65 20 |..OPF Re|ference |
|00005ff0| 4d 61 6e 75 61 6c 00 00 | 29 76 01 35 00 00 0a ff |Manual..|)v.5....|
|00006000| ff ff ff ff ff ff ff 00 | 74 00 1e 00 7a 02 01 00 |........|t...z...|
|00006010| 83 02 0a 00 7e 02 0a 00 | 83 02 06 00 7e 02 01 00 |....~...|....~...|
|00006020| 7a 02 06 00 7e 02 0a 00 | 70 00 1e 00 7a 02 01 00 |z...~...|p...z...|
|00006030| 83 02 0a 00 7e 02 0a 00 | 83 02 06 00 7e 02 01 00 |....~...|....~...|
|00006040| 7a 02 06 00 7e 02 0a 00 | 20 00 7e 00 6c 00 7e 01 |z...~...| .~.l.~.|
|00006050| f8 00 0a 00 00 00 00 00 | 00 00 00 00 34 00 91 00 |........|....4...|
|00006060| e1 02 9b 02 0a 00 04 01 | 00 00 0d 00 0c 00 a1 00 |........|........|
|00006070| 64 00 10 4f 4e 4c 4e 00 | 64 00 00 00 90 00 e1 00 |d..ONLN.|d.......|
|00006080| 9c 01 86 00 28 00 99 00 | e1 1e 54 68 72 6f 77 69 |....(...|..Throwi|
|00006090| 6e 67 20 70 72 65 64 65 | 66 69 6e 65 64 20 65 78 |ng prede|fined ex|
|000060a0| 63 65 70 74 69 6f 6e 73 | 00 00 04 00 00 00 0d 00 |ceptions|........|
|000060b0| 0a 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 1f 00 |....d..O|NLN.d...|
|000060c0| 9e 00 e1 00 aa 01 e7 00 | 2a 0e 40 59 6f 75 20 63 |........|*.@You c|
|000060d0| 61 6e 20 74 68 72 6f 77 | 20 61 6e 79 20 6f 66 20 |an throw| any of |
|000060e0| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 73 20 74 |the exce|ptions t|
|000060f0| 68 61 74 20 4f 50 46 20 | 64 65 66 69 6e 65 73 2e |hat OPF |defines.|
|00006100| 20 46 6f 72 20 65 76 65 | 72 79 20 00 a1 00 64 00 | For eve|ry ...d.|
|00006110| 10 4f 4e 4c 4e 00 64 00 | 5f 00 aa 00 e1 00 b6 01 |.ONLN.d.|_.......|
|00006120| e5 00 2a 0c 40 65 78 63 | 65 70 74 69 6f 6e 20 79 |..*.@exc|eption y|
|00006130| 6f 75 20 74 68 72 6f 77 | 2c 20 79 6f 75 20 6d 75 |ou throw|, you mu|
|00006140| 73 74 20 74 61 6b 65 20 | 6f 6e 65 20 6f 66 20 74 |st take |one of t|
|00006150| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 61 63 74 |he follo|wing act|
|00006160| 69 6f 6e 73 3a 00 0d 00 | 09 00 15 33 33 00 a1 00 |ions:...|...33...|
|00006170| 64 00 10 4f 4e 4c 4e 00 | 64 00 a1 00 c1 00 f6 00 |d..ONLN.|d.......|
|00006180| cc 00 fc 00 2b 15 16 02 | 31 2e 00 00 0d 00 0a 00 |....+...|1.......|
|00006190| 15 e6 66 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |..f...d.|.ONLN.d.|
|000061a0| a4 00 c0 01 01 00 cc 01 | ef 00 29 0b 3a 59 6f 75 |........|..).:You|
|000061b0| 20 6d 75 73 74 20 65 6e | 73 75 72 65 20 74 68 61 | must en|sure tha|
|000061c0| 74 20 74 68 65 20 6d 65 | 74 68 6f 64 20 74 68 72 |t the me|thod thr|
|000061d0| 6f 77 69 6e 67 20 74 68 | 65 20 65 78 63 65 70 74 |owing th|e except|
|000061e0| 69 6f 6e 20 69 73 20 00 | 15 4c cc 00 a1 00 64 00 |ion is .|.L....d.|
|000061f0| 10 4f 4e 4c 4e 00 64 00 | de 00 cc 00 fe 00 d8 01 |.ONLN.d.|........|
|00006200| f0 00 28 00 d5 00 fe 3e | 63 61 6c 6c 65 64 20 66 |..(....>|called f|
|00006210| 72 6f 6d 20 61 20 75 73 | 65 66 75 6c 20 74 72 79 |rom a us|eful try|
|00006220| 20 62 6c 6f 63 6b 2e 20 | 54 68 61 74 20 69 73 2c | block. |That is,|
|00006230| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 63 61 74 63 | you sho|uld catc|
|00006240| 68 20 61 6e 79 20 00 00 | 15 4c cc 00 a1 00 64 00 |h any ..|.L....d.|
|00006250| 10 4f 4e 4c 4e 00 64 01 | 1c 00 d8 00 fe 00 e4 01 |.ONLN.d.|........|
|00006260| ac 00 2a 0c 2b 65 78 63 | 65 70 74 69 6f 6e 73 20 |..*.+exc|eptions |
|00006270| 79 6f 75 20 74 68 72 6f | 77 20 61 73 20 64 65 65 |you thro|w as dee|
|00006280| 70 6c 79 20 61 73 20 70 | 6f 73 73 69 62 6c 65 2e |ply as p|ossible.|
|00006290| 00 00 0d 00 09 00 15 33 | 33 00 a1 00 64 00 10 4f |.......3|3...d..O|
|000062a0| 4e 4c 4e 00 64 01 49 00 | ef 00 f6 00 fa 00 fc 00 |NLN.d.I.|........|
|000062b0| 28 00 f7 00 f6 02 32 2e | 00 00 0d 00 0a 00 06 ff |(.....2.|........|
|000062c0| ff fb af 00 15 e6 66 00 | a1 00 64 00 10 4f 4e 4c |......f.|..d..ONL|
|000062d0| 4e 00 64 01 4c 00 ee 01 | 01 00 fa 01 f7 00 29 0b |N.d.L...|......).|
|000062e0| 41 49 66 20 79 6f 75 20 | 61 72 65 20 77 72 69 74 |AIf you |are writ|
|000062f0| 69 6e 67 20 61 20 6c 69 | 62 72 61 72 79 20 66 6f |ing a li|brary fo|
|00006300| 72 20 6f 74 68 65 72 73 | 20 74 6f 20 75 73 65 2c |r others| to use,|
|00006310| 20 61 6e 64 20 64 6f 20 | 6e 6f 74 20 63 61 74 63 | and do |not catc|
|00006320| 68 20 00 00 06 00 00 00 | 00 00 15 4c cc 00 a1 00 |h ......|...L....|
|00006330| 64 00 10 4f 4e 4c 4e 00 | 64 01 8d 00 fa 00 fe 01 |d..ONLN.|d.......|
|00006340| 06 01 f6 00 28 01 03 00 | fe 3d 74 68 65 20 65 78 |....(...|.=the ex|
|00006350| 63 65 70 74 69 6f 6e 20 | 79 6f 75 72 73 65 6c 66 |ception |yourself|
|00006360| 2c 20 79 6f 75 20 6d 75 | 73 74 20 64 6f 63 75 6d |, you mu|st docum|
|00006370| 65 6e 74 20 68 6f 77 20 | 63 6c 69 65 6e 74 73 20 |ent how |clients |
|00006380| 61 72 65 20 74 6f 20 00 | 15 4c cc 00 a1 00 64 00 |are to .|.L....d.|
|00006390| 10 4f 4e 4c 4e 00 64 01 | ca 01 06 00 fe 01 12 01 |.ONLN.d.|........|
|000063a0| dc 00 2a 0c 37 68 61 6e | 64 6c 65 20 74 68 65 20 |..*.7han|dle the |
|000063b0| 74 68 72 6f 77 6e 20 65 | 78 63 65 70 74 69 6f 6e |thrown e|xception|
|000063c0| 20 74 6f 20 65 6e 61 62 | 6c 65 20 74 68 65 6d 20 | to enab|le them |
|000063d0| 74 6f 20 77 72 69 74 65 | 20 61 6e 20 00 00 15 4c |to write| an ...L|
|000063e0| cc 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 01 01 |....d..O|NLN.d...|
|000063f0| 12 00 fe 01 1e 01 51 00 | 2a 0c 15 61 70 70 72 6f |......Q.|*..appro|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.